12 lines
588 B
Diff
12 lines
588 B
Diff
|
diff -up openssl-1.0.0-beta3/crypto/dsa/dsa_pmeth.c.dss1 openssl-1.0.0-beta3/crypto/dsa/dsa_pmeth.c
|
||
|
--- openssl-1.0.0-beta3/crypto/dsa/dsa_pmeth.c.dss1 2008-11-05 19:38:56.000000000 +0100
|
||
|
+++ openssl-1.0.0-beta3/crypto/dsa/dsa_pmeth.c 2009-08-31 12:53:47.000000000 +0200
|
||
|
@@ -186,6 +186,7 @@ static int pkey_dsa_ctrl(EVP_PKEY_CTX *c
|
||
|
|
||
|
case EVP_PKEY_CTRL_MD:
|
||
|
if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
|
||
|
+ EVP_MD_type((const EVP_MD *)p2) != NID_dsa &&
|
||
|
EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
|
||
|
EVP_MD_type((const EVP_MD *)p2) != NID_sha256)
|
||
|
{
|