tAdd a verbose mode - sick - sign and check files using ed25519
(HTM) git clone git://z3bra.org/sick
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 972407f932b6471bf3821cade75cf38cf7cfc9f1
(DIR) parent 97fda1b50e8baf17d602bae061b2893268fb97e8
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:19:07 +0200
Add a verbose mode
Diffstat:
M sick.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/sick.c b/sick.c
t@@ -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
t@@ -155,6 +156,9 @@ main(int argc, char *argv[])
case 's':
action = ACT_SIGN;
break;
+ case 'v':
+ verbose = 1;
+ break;
default:
usage();
}ARGEND;