From: Damien Mascord Date: Wed, 8 Aug 2018 13:54:53 +0000 (+1000) Subject: Change the sigb buffer to be the same size as the fread X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1056e730f56adbc6bc77872e2bbd2bbe01512ec9;p=oweals%2Fucert.git Change the sigb buffer to be the same size as the fread Signed-off-by: Damien Mascord --- 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";