From: Dr. Stephen Henson Date: Thu, 28 Jul 2011 14:42:53 +0000 (+0000) Subject: recognise ecdsaWithSHA1 OID X-Git-Tag: OpenSSL_1_0_1-beta1~191 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=572712d82ab39b74660052d845365de0963c8ba8;p=oweals%2Fopenssl.git recognise ecdsaWithSHA1 OID --- 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 &&