summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/sha/sha1_one.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/sha/sha1_one.c')
-rw-r--r--lib/libcrypto/sha/sha1_one.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/sha/sha1_one.c b/lib/libcrypto/sha/sha1_one.c
index f4694b701b2..7c65b60276c 100644
--- a/lib/libcrypto/sha/sha1_one.c
+++ b/lib/libcrypto/sha/sha1_one.c
@@ -61,8 +61,8 @@
#include <openssl/sha.h>
#include <openssl/crypto.h>
-#if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_FIPS)
-unsigned char *SHA1(const unsigned char *d, unsigned long n, unsigned char *md)
+#ifndef OPENSSL_NO_SHA1
+unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md)
{
SHA_CTX c;
static unsigned char m[SHA_DIGEST_LENGTH];