From 1056e730f56adbc6bc77872e2bbd2bbe01512ec9 Mon Sep 17 00:00:00 2001 From: Damien Mascord Date: Wed, 8 Aug 2018 23:54:53 +1000 Subject: [PATCH] Change the sigb buffer to be the same size as the fread Signed-off-by: Damien Mascord --- ucert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucert.c b/ucert.c index 53a1a05..569b31d 100644 --- a/ucert.c +++ b/ucert.c @@ -414,7 +414,7 @@ static int cert_issue(const char *certfile, const char *pubkeyfile, const char * void *c; FILE *pkf, *sigf; char pkb[512]; - char sigb[512]; + char sigb[1024]; char fname[256], sfname[256]; char pkfp[17]; char tmpdir[] = "/tmp/ucert-XXXXXX"; -- 2.25.1