Skip to content

Commit 31ebb42

Browse files
author
Andres Amaya Garcia
committed
benchmark: Fix typo in arguments to sizeof()
1 parent ea13a0f commit 31ebb42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ MBED_NOINLINE static int benchmark_blowfish()
687687
mbedtls_blowfish_context *blowfish;
688688

689689
blowfish = (mbedtls_blowfish_context *)mbedtls_calloc(1,
690-
sizeof(mbedtls_blowfish_context *));
690+
sizeof(mbedtls_blowfish_context));
691691
if (blowfish == NULL) {
692692
mbedtls_printf("Failed to allocate mbedtls_blowfish_context\n");
693693
return -1;

0 commit comments

Comments
 (0)