mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Fix use of sizeof without brackets
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user