diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-19 17:05:59 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-19 17:05:59 +0000 |
commit | ee1d9ec019a7584482bd95891404f1cad66a4a0a (patch) | |
tree | 54973962e56f5e576096c999be3b2bc3ca19c0fa /crypto/evp/m_sha1.c | |
parent | 614b448a67839c2af96aa6aee8856dfffb025293 (diff) | |
download | openssl-ee1d9ec019a7584482bd95891404f1cad66a4a0a.tar.gz |
Remove link between digests and signature algorithms.
Use cross reference table in ASN1_item_sign(), ASN1_item_verify() to eliminate
the need for algorithm specific code.
Diffstat (limited to 'crypto/evp/m_sha1.c')
-rw-r--r-- | crypto/evp/m_sha1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/m_sha1.c b/crypto/evp/m_sha1.c index 4679b1c463..41c8d3dfe2 100644 --- a/crypto/evp/m_sha1.c +++ b/crypto/evp/m_sha1.c @@ -82,7 +82,7 @@ static const EVP_MD sha1_md= NID_sha1, NID_sha1WithRSAEncryption, SHA_DIGEST_LENGTH, - 0, + EVP_MD_FLAG_PKEY_METHOD_SIGNATURE, init, update, final, |