summaryrefslogtreecommitdiff
path: root/ext/sha1/sha1-ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sha1/sha1-ruby.c')
-rw-r--r--ext/sha1/sha1-ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sha1/sha1-ruby.c b/ext/sha1/sha1-ruby.c
index 75b3826407..abd704c638 100644
--- a/ext/sha1/sha1-ruby.c
+++ b/ext/sha1/sha1-ruby.c
@@ -37,7 +37,7 @@ sha1_hexdigest(obj)
{
SHA1_CTX *sha1, ctx;
unsigned char digest[20];
- char buf[33];
+ char buf[41];
int i;
Data_Get_Struct(obj, SHA1_CTX, sha1);