diff options
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/speed.c b/apps/speed.c index e817a0df15..95979e509f 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1138,7 +1138,7 @@ int MAIN(int argc, char **argv) HMAC_CTX_init(&hctx); HMAC_Init_ex(&hctx,(unsigned char *)"This is a key...", - 16,EVP_md5()); + 16,EVP_md5(), NULL); for (j=0; j<SIZE_NUM; j++) { @@ -1146,9 +1146,9 @@ int MAIN(int argc, char **argv) Time_F(START); for (count=0,run=1; COND(c[D_HMAC][j]); count++) { - HMAC_Init_ex(&hctx,NULL,0,NULL); - HMAC_Update(&hctx,buf,lengths[j]); - HMAC_Final(&hctx,&(hmac[0]),NULL); + HMAC_Init_ex(&hctx,NULL,0,NULL,NULL); + HMAC_Update(&hctx,buf,lengths[j]); + HMAC_Final(&hctx,&(hmac[0]),NULL); } d=Time_F(STOP); print_result(D_HMAC,j,count,d); |