summaryrefslogtreecommitdiff
path: root/ext/digest/sha1/sha1ossl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/digest/sha1/sha1ossl.c')
-rw-r--r--ext/digest/sha1/sha1ossl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/sha1/sha1ossl.c b/ext/digest/sha1/sha1ossl.c
index adf5cf267cc..452cf35084c 100644
--- a/ext/digest/sha1/sha1ossl.c
+++ b/ext/digest/sha1/sha1ossl.c
@@ -6,5 +6,5 @@
void
SHA1_Finish(SHA1_CTX *ctx, char *buf)
{
- SHA1_Final(buf, ctx);
+ SHA1_Final((unsigned char *)buf, ctx);
}