From: Shane Lontis Date: Tue, 22 Sep 2020 05:48:45 +0000 (+1000) Subject: Fix ssl_hmac_new() so that it uses the propq X-Git-Tag: openssl-3.0.0-alpha7~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f80980fb7096ab4898e500a054a1bb8cbcaa266;p=thirdparty%2Fopenssl.git Fix ssl_hmac_new() so that it uses the propq Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/12944) --- diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index f2043aef7e5..927154fd988 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -3385,7 +3385,7 @@ SSL_HMAC *ssl_hmac_new(const SSL_CTX *ctx) return ret; } #endif - mac = EVP_MAC_fetch(ctx->libctx, "HMAC", NULL); + mac = EVP_MAC_fetch(ctx->libctx, "HMAC", ctx->propq); if (mac == NULL || (ret->ctx = EVP_MAC_CTX_new(mac)) == NULL) goto err; EVP_MAC_free(mac);