aboutsummaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-01-23 13:55:26 +0000
committerBodo Möller <bodo@openssl.org>2001-01-23 13:55:26 +0000
commit325ae88efbaace864580ffaa42a7771f7cfdce32 (patch)
tree14b1e23d57f120adee3a82ee963061a55f169cb0 /ssl
parenta25b265d27b78f3b9eaf224e74dec98c6bb94b56 (diff)
downloadopenssl-325ae88efbaace864580ffaa42a7771f7cfdce32.tar.gz
For improved compatibility with 'strange' certificates, add some
digest aliases (as found in OpenSSL_add_all_digests).
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssl_algs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl_algs.c b/ssl/ssl_algs.c
index a91ee6d22e..dde8918fe0 100644
--- a/ssl/ssl_algs.c
+++ b/ssl/ssl_algs.c
@@ -88,9 +88,13 @@ int SSL_library_init(void)
#ifndef NO_SHA
EVP_add_digest(EVP_sha1()); /* RSA with sha1 */
EVP_add_digest_alias(SN_sha1,"ssl3-sha1");
+ EVP_add_digest_alias(SN_sha1WithRSAEncryption,SN_sha1WithRSA);
#endif
#if !defined(NO_SHA) && !defined(NO_DSA)
EVP_add_digest(EVP_dss1()); /* DSA with sha1 */
+ EVP_add_digest_alias(SN_dsaWithSHA1,SN_dsaWithSHA1_2);
+ EVP_add_digest_alias(SN_dsaWithSHA1,"DSS1");
+ EVP_add_digest_alias(SN_dsaWithSHA1,"dss1");
#endif
/* If you want support for phased out ciphers, add the following */