psa: Fix style in psa_hrng.c

pull/13003/head
Jaeden Amero 2020-05-12 11:35:32 +01:00 committed by Darryl Green
parent 5d6ec71171
commit 8b5a2ff2d9
1 changed files with 3 additions and 3 deletions

View File

@ -34,13 +34,13 @@ MBED_WEAK void trng_free(trng_t *obj)
MBED_WEAK int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_length)
{
((void)(obj));
if (output == NULL || output_length == NULL){
((void)(obj));
if (output == NULL || output_length == NULL) {
return -1;
}
psa_status_t status = psa_crypto_init();
if(status != PSA_SUCCESS) {
if (status != PSA_SUCCESS) {
return -1;
}