]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix ssl_hmac_new() so that it uses the propq
authorShane Lontis <shane.lontis@oracle.com>
Tue, 22 Sep 2020 05:48:45 +0000 (15:48 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Wed, 23 Sep 2020 07:31:40 +0000 (17:31 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12944)

ssl/t1_lib.c

index f2043aef7e5e65e76e7210c816b937f9ea6c6695..927154fd988c465bd8fa2eafc4be4945ba482957 100644 (file)
@@ -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);