summaryrefslogtreecommitdiffstats
path: root/crypto/evp/c_alld.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-05-31 13:14:08 +0000
committerAndy Polyakov <appro@openssl.org>2004-05-31 13:14:08 +0000
commit31c2ac1cdc9df8f15b1faa8f7df1117c32095037 (patch)
tree6c4a33937b39aa3232514416b320f14cd436fad4 /crypto/evp/c_alld.c
parent6bca8e38864ed2e124e32710908f38f6b285737e (diff)
EVP bindings to new SHA algorithms.
Diffstat (limited to 'crypto/evp/c_alld.c')
-rw-r--r--crypto/evp/c_alld.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/evp/c_alld.c b/crypto/evp/c_alld.c
index 2334a28a5e..a935aa565e 100644
--- a/crypto/evp/c_alld.c
+++ b/crypto/evp/c_alld.c
@@ -103,4 +103,12 @@ void OpenSSL_add_all_digests(void)
EVP_add_digest_alias(SN_ripemd160,"ripemd");
EVP_add_digest_alias(SN_ripemd160,"rmd160");
#endif
+#ifndef OPENSSL_NO_SHA256
+ EVP_add_digest(EVP_sha224());
+ EVP_add_digest(EVP_sha256());
+#endif
+#ifndef OPENSSL_NO_SHA512
+ EVP_add_digest(EVP_sha384());
+ EVP_add_digest(EVP_sha512());
+#endif
}