=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/signify/signify.c,v retrieving revision 1.97 retrieving revision 1.98 diff -c -r1.97 -r1.98 *** src/usr.bin/signify/signify.c 2015/01/09 21:49:59 1.97 --- src/usr.bin/signify/signify.c 2015/01/15 22:21:01 1.98 *************** *** 1,4 **** ! /* $OpenBSD: signify.c,v 1.97 2015/01/09 21:49:59 tedu Exp $ */ /* * Copyright (c) 2013 Ted Unangst * --- 1,4 ---- ! /* $OpenBSD: signify.c,v 1.98 2015/01/15 22:21:01 tedu Exp $ */ /* * Copyright (c) 2013 Ted Unangst * *************** *** 19,24 **** --- 19,25 ---- #include #include + #include #include #include #include *************** *** 507,513 **** #ifndef VERIFYONLY #define HASHBUFSIZE 224 struct checksum { ! char file[1024]; char hash[HASHBUFSIZE]; char algo[32]; }; --- 508,514 ---- #ifndef VERIFYONLY #define HASHBUFSIZE 224 struct checksum { ! char file[PATH_MAX]; char hash[HASHBUFSIZE]; char algo[32]; }; *************** *** 647,653 **** { const char *pubkeyfile = NULL, *seckeyfile = NULL, *msgfile = NULL, *sigfile = NULL; ! char sigfilebuf[1024]; const char *comment = "signify"; int ch, rounds; int embedded = 0; --- 648,654 ---- { const char *pubkeyfile = NULL, *seckeyfile = NULL, *msgfile = NULL, *sigfile = NULL; ! char sigfilebuf[PATH_MAX]; const char *comment = "signify"; int ch, rounds; int embedded = 0;