1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

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 45379cbe6b
commit 1868870fba
11 changed files with 42 additions and 42 deletions

View File

@@ -706,7 +706,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;
}