Fix use of sizeof without brackets

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-02-02 12:40:50 +00:00
parent 24c6f49530
commit 6dd757a8ba
11 changed files with 51 additions and 51 deletions

View file

@ -677,7 +677,7 @@ int mbedtls_entropy_self_test(int verbose)
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;
}