Allow for ./config no-sha0.

PR: 993
This commit is contained in:
Andy Polyakov
2005-01-09 17:58:18 +00:00
parent b58560b915
commit 5cdf5e3308
3 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ void OpenSSL_add_all_digests(void)
EVP_add_digest_alias(SN_md5,"ssl2-md5");
EVP_add_digest_alias(SN_md5,"ssl3-md5");
#endif
#ifndef OPENSSL_NO_SHA
#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA0)
EVP_add_digest(EVP_sha());
#ifndef OPENSSL_NO_DSA
EVP_add_digest(EVP_dss());

View File

@@ -56,7 +56,7 @@
* [including the GNU Public Licence.]
*/
#ifndef OPENSSL_NO_SHA
#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA0)
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/evp.h>

View File

@@ -62,10 +62,10 @@
#include "../e_os.h"
#ifdef OPENSSL_NO_SHA
#if defined(OPENSSL_NO_SHA) || defined(OPENSSL_NO_SHA0)
int main(int argc, char *argv[])
{
printf("No SHA support\n");
printf("No SHA0 support\n");
return(0);
}
#else