commit | 1868870fba57c0c48461b1dd5584044ed7cad78b | [log] [tgz] |
---|---|---|
author | Dave Rodgman <dave.rodgman@arm.com> | Thu Feb 02 12:40:50 2023 +0000 |
committer | Dave Rodgman <dave.rodgman@arm.com> | Thu Feb 02 12:46:39 2023 +0000 |
tree | 6b7fb1d0827f51c10c18e6644f6d248d8c51589b | |
parent | 45379cbe6b58f1dcfea9137e8652f3a24ef24ba6 [diff] [blame] |
Fix use of sizeof without brackets Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/library/entropy.c b/library/entropy.c index 1a4ac96..af78acc 100644 --- a/library/entropy.c +++ b/library/entropy.c
@@ -706,7 +706,7 @@ goto cleanup; } - if ((ret = mbedtls_entropy_update_manual(&ctx, buf, sizeof buf)) != 0) { + if ((ret = mbedtls_entropy_update_manual(&ctx, buf, sizeof(buf))) != 0) { goto cleanup; }