summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha1dgst.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/sha/sha1dgst.c')
-rw-r--r--crypto/sha/sha1dgst.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/sha/sha1dgst.c b/crypto/sha/sha1dgst.c
index 18a492d0e6..532f53baa4 100644
--- a/crypto/sha/sha1dgst.c
+++ b/crypto/sha/sha1dgst.c
@@ -64,6 +64,7 @@
#include "sha_locl.h"
#include <openssl/opensslv.h>
+#ifndef NO_SHA1
char *SHA1_version="SHA1" OPENSSL_VERSION_PTEXT;
/* Implemented from SHA-1 document - The Secure Hash Algorithm
@@ -446,4 +447,5 @@ void SHA1_Final(unsigned char *md, SHA_CTX *c)
c->num=0;
/* memset((char *)&c,0,sizeof(c));*/
}
+#endif