sick

sign and check files using ed25519
git clone git://z3bra.org/sick
Log | Files | Refs | Submodules | README | LICENSE

commit 972407f932b6471bf3821cade75cf38cf7cfc9f1
parent 97fda1b50e8baf17d602bae061b2893268fb97e8
Author: z3bra <willyatmailoodotorg>
Date:   Sun May 15 19:19:07 2016

Add a verbose mode

Diffstat:
 sick.c | 4 ++++
 1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/sick.c b/sick.c @@ -22,6 +22,7 @@ static size_t bufferize(unsigned char **buf, FILE *fp); static int createkeypair(const char *); static int sign(FILE *fp, FILE *key); +static int verbose = 0; char *argv0; static void @@ -155,6 +156,9 @@ main(int argc, char *argv[]) case 's': action = ACT_SIGN; break; + case 'v': + verbose = 1; + break; default: usage(); }ARGEND;