recognise ecdsaWithSHA1 OID
This commit is contained in:
parent
d1697a7556
commit
572712d82a
@ -221,6 +221,7 @@ static int pkey_ec_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2)
|
|||||||
|
|
||||||
case EVP_PKEY_CTRL_MD:
|
case EVP_PKEY_CTRL_MD:
|
||||||
if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
|
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_sha224 &&
|
||||||
EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &&
|
EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &&
|
||||||
EVP_MD_type((const EVP_MD *)p2) != NID_sha384 &&
|
EVP_MD_type((const EVP_MD *)p2) != NID_sha384 &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user