diff options
author | Mike DePaulo <mikedep333@gmail.com> | 2015-07-10 08:56:32 -0400 |
---|---|---|
committer | Mike DePaulo <mikedep333@gmail.com> | 2015-07-26 11:34:07 -0400 |
commit | 9ece505c5ca92218e41adedfa6d8c47574bd9271 (patch) | |
tree | fbb27f113769b94dafa26ab43a5843c7e7454fb6 /openssl/crypto/hmac | |
parent | 6d650329125473a3b773f03f2fb704a094d92b55 (diff) | |
download | vcxsrv-9ece505c5ca92218e41adedfa6d8c47574bd9271.tar.gz vcxsrv-9ece505c5ca92218e41adedfa6d8c47574bd9271.tar.bz2 vcxsrv-9ece505c5ca92218e41adedfa6d8c47574bd9271.zip |
Update openssl: 1.0.2c -> 1.0.2d
Diffstat (limited to 'openssl/crypto/hmac')
-rw-r--r-- | openssl/crypto/hmac/hmactest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl/crypto/hmac/hmactest.c b/openssl/crypto/hmac/hmactest.c index 271d0ebf2..5a573950a 100644 --- a/openssl/crypto/hmac/hmactest.c +++ b/openssl/crypto/hmac/hmactest.c @@ -195,6 +195,7 @@ 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"); @@ -284,6 +285,7 @@ test5: printf("test 5 ok\n"); } test6: + HMAC_CTX_cleanup(&ctx); HMAC_CTX_init(&ctx); if (!HMAC_Init_ex(&ctx, test[7].key, test[7].key_len, EVP_sha1(), NULL)) { printf("Failed to initialise HMAC (test 6)\n"); @@ -314,6 +316,7 @@ test6: printf("test 6 ok\n"); } end: + HMAC_CTX_cleanup(&ctx); EXIT(err); return (0); } |