summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-08-14 16:08:59 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-08-14 16:08:59 +0000
commit441657454d08b32b0efca0253811b1c7ca6bf509 (patch)
tree797ca40e9ec0c7e205c827e99640e4f36addad98 /usr.bin/ssh
parent0ad71f07e95298365a2b23f2defc2c14e01ddc19 (diff)
exit after primetest, ok djm@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/ssh-keygen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-keygen.c b/usr.bin/ssh/ssh-keygen.c
index 206c761bf27..29665e5c2b2 100644
--- a/usr.bin/ssh/ssh-keygen.c
+++ b/usr.bin/ssh/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>
@@ -1000,6 +1000,7 @@ main(int ac, char **av)
}
if (prime_test(in, out, trials, generator_wanted) != 0)
fatal("modulus screening failed\n");
+ return (0);
}
arc4random_stir();