summaryrefslogtreecommitdiff
path: root/lib/libssl/ssl_algs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/ssl_algs.c')
-rw-r--r--lib/libssl/ssl_algs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libssl/ssl_algs.c b/lib/libssl/ssl_algs.c
index 463bf8ad66e..aaecb2da0fa 100644
--- a/lib/libssl/ssl_algs.c
+++ b/lib/libssl/ssl_algs.c
@@ -111,12 +111,10 @@ SSL_library_init(void)
EVP_add_digest(EVP_sha256());
EVP_add_digest(EVP_sha384());
EVP_add_digest(EVP_sha512());
-#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_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
#ifndef OPENSSL_NO_ECDSA
EVP_add_digest(EVP_ecdsa());
#endif