projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1697a7
)
recognise ecdsaWithSHA1 OID
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 28 Jul 2011 14:42:53 +0000
(14:42 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 28 Jul 2011 14:42:53 +0000
(14:42 +0000)
crypto/ec/ec_pmeth.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec_pmeth.c
b/crypto/ec/ec_pmeth.c
index f433076ca121800ed16439d49351a8785afac8ef..d1ed66c37e76e5683cb976fe961cea32b3da892d 100644
(file)
--- 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 &&