diff --git a/crypto/evp/pmeth_lib.c b/crypto/evp/pmeth_lib.c index dda9358c4e2969b70deb71155498aaa46b4a512d..075e87fe1c205a6c35594a84d7f9d0e990d45f07 100644 --- a/crypto/evp/pmeth_lib.c +++ b/crypto/evp/pmeth_lib.c @@ -834,7 +834,7 @@ static int legacy_ctrl_str_to_param(EVP_PKEY_CTX *ctx, const char *name, if (md == NULL) return 0; ret = EVP_PKEY_CTX_set_signature_md(ctx, md); - EVP_MD_meth_free(md); + EVP_MD_free(md); return ret; }