Skip to content

Commit b624521

Browse files
committed
Fixed HMAC_CTX_free invocation.
1 parent 630c97d commit b624521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cbits/HsOpenSSL.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ HMAC_CTX *HsOpenSSL_HMAC_CTX_new(void) {
8383

8484
void HsOpenSSL_HMAC_CTX_free(HMAC_CTX *ctx) {
8585
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
86-
return HMAC_CTX_free();
86+
HMAC_CTX_free(ctx);
8787
#else
8888
HMAC_CTX_cleanup(ctx);
8989
free(ctx);

0 commit comments

Comments
 (0)