Add evp_test fixes.
[openssl.git] / crypto / evp / pkey_kdf.c
index ac4a0fa46118924b0d8efb825282b60c328ed287..a2d25a925f043f5056c1ae64fb4b5b2d2d429f52 100644 (file)
@@ -49,7 +49,7 @@ static int pkey_kdf_init(EVP_PKEY_CTX *ctx)
     if (pkctx == NULL)
         return 0;
 
-    kdf = EVP_KDF_fetch(NULL, kdf_name, NULL);
+    kdf = EVP_KDF_fetch(ctx->libctx, kdf_name, ctx->propquery);
     kctx = EVP_KDF_CTX_new(kdf);
     EVP_KDF_free(kdf);
     if (kctx == NULL) {