From 06fb0e4aac762b31d22b81364138bfa2531e8a77 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 11 Nov 2015 11:26:49 +0100 Subject: [PATCH] Bump buffer sizes, bump version --- src/minisign.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/minisign.c b/src/minisign.c index 050839d..2442c1f 100644 --- a/src/minisign.c +++ b/src/minisign.c @@ -67,7 +67,7 @@ static unsigned char * message_load_hashed(size_t *message_len, const char *message_file) { crypto_generichash_state hs; - unsigned char buf[4096U]; + unsigned char buf[65536U]; unsigned char *message; FILE *fp; size_t n; @@ -125,7 +125,7 @@ message_load(size_t *message_len, const char *message_file, int hashed) static int output_file(const char *message_file) { - unsigned char buf[4096U]; + unsigned char buf[65536U]; FILE *fp; size_t n;