Message digest stuff.

This commit is contained in:
Ulf Möller
1999-04-27 04:18:53 +00:00
parent 79df9d6272
commit d02f751ce1
34 changed files with 67 additions and 24 deletions

View File

@@ -85,11 +85,11 @@ int SSL_library_init(void)
EVP_add_digest_alias(SN_md5,"ssl2-md5");
EVP_add_digest_alias(SN_md5,"ssl3-md5");
#endif
#ifndef NO_SHA1
#ifndef NO_SHA
EVP_add_digest(EVP_sha1()); /* RSA with sha1 */
EVP_add_digest_alias(SN_sha1,"ssl3-sha1");
#endif
#if !defined(NO_SHA1) && !defined(NO_DSA)
#if !defined(NO_SHA) && !defined(NO_DSA)
EVP_add_digest(EVP_dss1()); /* DSA with sha1 */
#endif