- markus@cvs.openbsd.org 2003/08/14 16:08:58
     [ssh-keygen.c]
     exit after primetest, ok djm@
diff --git a/ssh-keygen.c b/ssh-keygen.c
index a6342b1..2ce5553 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 @@
 		}
 		if (prime_test(in, out, trials, generator_wanted) != 0)
 			fatal("modulus screening failed\n");
+		return (0);
 	}
 
 	arc4random_stir();