summaryrefslogtreecommitdiff
path: root/crypto/sha/sha_one.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/sha/sha_one.c')
-rw-r--r--crypto/sha/sha_one.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha/sha_one.c b/crypto/sha/sha_one.c
index e61c63f3e9..371ffddac6 100644
--- a/crypto/sha/sha_one.c
+++ b/crypto/sha/sha_one.c
@@ -62,7 +62,7 @@
#include <openssl/crypto.h>
#ifndef OPENSSL_NO_SHA0
-unsigned char *SHA(const unsigned char *d, unsigned long n, unsigned char *md)
+unsigned char *SHA(const unsigned char *d, size_t n, unsigned char *md)
{
SHA_CTX c;
static unsigned char m[SHA_DIGEST_LENGTH];