summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-08-21 16:44:07 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-08-21 16:44:07 +1000
commitf4220e6cefdddd30acd0dcaa152dedff84a15c0f (patch)
treea2296a3ad4a5f1bdde67504086c1568cc7ae66eb /ssh-keygen.c
parentf38ea77c03a5473ec43fe07ec24cfb1ca7f27034 (diff)
downloadopenssh-git-f4220e6cefdddd30acd0dcaa152dedff84a15c0f.tar.gz
- markus@cvs.openbsd.org 2003/08/14 16:08:58
[ssh-keygen.c] exit after primetest, ok djm@
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index a6342b18..2ce5553f 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-keygen.c,v 1.107 2003/07/28 09:49:56 djm Exp $");
+RCSID("$OpenBSD: ssh-keygen.c,v 1.108 2003/08/14 16:08:58 markus Exp $");
#include <openssl/evp.h>
#include <openssl/pem.h>
@@ -1009,6 +1009,7 @@ main(int ac, char **av)
}
if (prime_test(in, out, trials, generator_wanted) != 0)
fatal("modulus screening failed\n");
+ return (0);
}
arc4random_stir();