New Configure option no-<cipher> (rsa, idea, rc5, ...).
[openssl.git] / crypto / sha / sha_one.c
index 80b06973800e96757db5141abccc73de48dd6afe..6ef3f06a37948d8d4bbb0864150adc9b004d218f 100644 (file)
@@ -60,6 +60,7 @@
 #include <string.h>
 #include <openssl/sha.h>
 
+#ifndef NO_SHA0
 unsigned char *SHA(unsigned char *d, unsigned long n, unsigned char *md)
        {
        SHA_CTX c;
@@ -72,3 +73,4 @@ unsigned char *SHA(unsigned char *d, unsigned long n, unsigned char *md)
        memset(&c,0,sizeof(c));
        return(md);
        }
+#endif