X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fec%2Fec_pmeth.c;h=d1ed66c37e76e5683cb976fe961cea32b3da892d;hp=f433076ca121800ed16439d49351a8785afac8ef;hb=3699ec605602cf8ce7400bdbd164ebd9ed658b4c;hpb=a678580bb8e8222ba86ae5886d1572f28e5b2d98;ds=sidebyside diff --git a/crypto/ec/ec_pmeth.c b/crypto/ec/ec_pmeth.c index f433076ca1..d1ed66c37e 100644 --- a/crypto/ec/ec_pmeth.c +++ b/crypto/ec/ec_pmeth.c @@ -221,6 +221,7 @@ static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) case EVP_PKEY_CTRL_MD: if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 && + EVP_MD_type((const EVP_MD *)p2) != NID_ecdsa_with_SHA1 && EVP_MD_type((const EVP_MD *)p2) != NID_sha224 && EVP_MD_type((const EVP_MD *)p2) != NID_sha256 && EVP_MD_type((const EVP_MD *)p2) != NID_sha384 &&