Fix ssl_hmac_new() so that it uses the propq
[openssl.git] / 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);