Skip to content

Commit 8b5a2ff

Browse files
Pataterdgreen-arm
authored andcommitted
psa: Fix style in psa_hrng.c
1 parent 5d6ec71 commit 8b5a2ff

File tree

1 file changed

+3
-3
lines changed
  • features/mbedtls/platform/TARGET_PSA/COMPONENT_NSPE/src

1 file changed

+3
-3
lines changed

features/mbedtls/platform/TARGET_PSA/COMPONENT_NSPE/src/psa_hrng.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ MBED_WEAK void trng_free(trng_t *obj)
3434

3535
MBED_WEAK int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_length)
3636
{
37-
((void)(obj));
38-
if (output == NULL || output_length == NULL){
37+
((void)(obj));
38+
if (output == NULL || output_length == NULL) {
3939
return -1;
4040
}
4141

4242
psa_status_t status = psa_crypto_init();
43-
if(status != PSA_SUCCESS) {
43+
if (status != PSA_SUCCESS) {
4444
return -1;
4545
}
4646

0 commit comments

Comments
 (0)