Modify EVP_CIPHER_is_a() and EVP_MD_is_a() to handle legacy methods too
[openssl.git] / crypto / evp / kdf_lib.c
index 5ddf8560d2b443b50f12a7ec7b44c8716729c3a6..84dc910858a122bc6c9caea68db8dd19f25c7e9b 100644 (file)
@@ -90,7 +90,7 @@ int EVP_KDF_number(const EVP_KDF *kdf)
 
 int EVP_KDF_is_a(const EVP_KDF *kdf, const char *name)
 {
-    return evp_is_a(kdf->prov, kdf->name_id, name);
+    return evp_is_a(kdf->prov, kdf->name_id, NULL, name);
 }
 
 const OSSL_PROVIDER *EVP_KDF_provider(const EVP_KDF *kdf)