tReturn directly after creating the key pair - 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 449abb00b6c12fd3ed5f0b19a250288b05d8e6b3
(DIR) parent 7ecf401609eb89626e79c80bd037e529e5f33511
(HTM) Author: z3bra <willyatmailoodotorg>
Date: Sun, 15 May 2016 19:39:18 +0200
Return directly after creating the key pair
Diffstat:
M sick.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/sick.c b/sick.c
t@@ -242,8 +242,8 @@ main(int argc, char *argv[])
key = fopen(EARGF(usage()), "r");
break;
case 'g':
- createkeypair(EARGF(usage()));
- break;
+ return createkeypair(EARGF(usage()));
+ break; /* NOTREACHED */
case 's':
action = ACT_SIGN;
break;