Replace OSSL_PARAM_BLD_free_params() with OSSL_PARAM_free().
[openssl.git] / crypto / rsa / rsa_ameth.c
index 2155eaccd601b798b1cc9fc1c729566b84347bb3..e633fa5c9347a85a76c7e068f593d28702c60a4a 100644 (file)
@@ -781,7 +781,7 @@ static int rsa_int_export_to(const EVP_PKEY *from, int rsa_type,
     rv = evp_keymgmt_import(to_keymgmt, to_keydata, selection, params);
 
  err:
-    OSSL_PARAM_BLD_free_params(params);
+    OSSL_PARAM_free(params);
     OSSL_PARAM_BLD_free(tmpl);
     return rv;
 }