diff options
author | Ben Laurie <ben@openssl.org> | 2001-12-09 21:53:31 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2001-12-09 21:53:31 +0000 |
commit | ff3fa48fc79029d46f5285bdf9347b96f2262ce2 (patch) | |
tree | f74a1f8ddd6ecf86c7f217742f10dea32a3b89bb /apps | |
parent | 87166e1fb6941280fc0827909d944b806461727d (diff) |
Improve back compatibility.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/speed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/speed.c b/apps/speed.c index 795a1430c8..5d609a8c16 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1065,8 +1065,8 @@ int MAIN(int argc, char **argv) HMAC_CTX hctx; HMAC_CTX_init(&hctx); - HMAC_Init(&hctx,(unsigned char *)"This is a key...", - 16,EVP_md5()); + HMAC_Init_ex(&hctx,(unsigned char *)"This is a key...", + 16,EVP_md5()); for (j=0; j<SIZE_NUM; j++) { @@ -1074,7 +1074,7 @@ int MAIN(int argc, char **argv) Time_F(START); for (count=0,run=1; COND(c[D_HMAC][j]); count++) { - HMAC_Init(&hctx,NULL,0,NULL); + HMAC_Init_ex(&hctx,NULL,0,NULL); HMAC_Update(&hctx,buf,lengths[j]); HMAC_Final(&hctx,&(hmac[0]),NULL); } |