From 95a5bac2017e3def8e8efe3b25b46eb9ca2da01a Mon Sep 17 00:00:00 2001 From: stphnlyd Date: Wed, 12 Aug 2020 00:27:44 +0800 Subject: [PATCH] return from void function cannot compile on solaris studio (#5385) --- src/_cffi_src/openssl/hmac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_cffi_src/openssl/hmac.py b/src/_cffi_src/openssl/hmac.py index b006e642d..2bc70068e 100644 --- a/src/_cffi_src/openssl/hmac.py +++ b/src/_cffi_src/openssl/hmac.py @@ -37,7 +37,7 @@ HMAC_CTX *Cryptography_HMAC_CTX_new(void) { void Cryptography_HMAC_CTX_free(HMAC_CTX *ctx) { #if CRYPTOGRAPHY_OPENSSL_110_OR_GREATER - return HMAC_CTX_free(ctx); + HMAC_CTX_free(ctx); #else if (ctx != NULL) { HMAC_CTX_cleanup(ctx);