summaryrefslogtreecommitdiffstats
path: root/test/hmactest.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-11-30 23:43:27 +0100
committerRichard Levitte <levitte@openssl.org>2015-12-07 17:39:23 +0100
commiteda34e4bef33a3b8f1e207bf04769007c70cbd1e (patch)
tree25124fceef881c491a3c175eadd02e021da49ac7 /test/hmactest.c
parentRemove HMAC_CTX_cleanup and combine its functionality into EVP_MD_CTX_init (diff)
downloadopenssl-eda34e4bef33a3b8f1e207bf04769007c70cbd1e.tar.xz
openssl-eda34e4bef33a3b8f1e207bf04769007c70cbd1e.zip
Adapt the rest of the source to the removal of (EVP_MD_CTX|HMAC_CTX)_cleanup
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/hmactest.c')
-rw-r--r--test/hmactest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/hmactest.c b/test/hmactest.c
index 0e0e017895..fc168de581 100644
--- a/test/hmactest.c
+++ b/test/hmactest.c
@@ -193,7 +193,6 @@ int main(int argc, char *argv[])
}
printf("test 4 ok\n");
test5:
- HMAC_CTX_cleanup(ctx);
HMAC_CTX_init(ctx);
if (HMAC_Init_ex(ctx, test[4].key, test[4].key_len, NULL, NULL)) {
printf("Should fail to initialise HMAC with empty MD (test 5)\n");
@@ -283,7 +282,6 @@ test5:
printf("test 5 ok\n");
}
test6:
- HMAC_CTX_cleanup(ctx);
HMAC_CTX_init(ctx);
ctx2 = HMAC_CTX_new();
if (ctx2 == NULL) {