From 6266c6e9fc1551b29f14d33037ff3faa5e47c58a Mon Sep 17 00:00:00 2001 From: dtucker Date: Fri, 23 Jun 2017 03:25:53 +0000 Subject: [PATCH] Run the screen twice so we end up with more candidate groups. ok djm@ --- usr.bin/ssh/moduli-gen/moduli-gen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/ssh/moduli-gen/moduli-gen.sh b/usr.bin/ssh/moduli-gen/moduli-gen.sh index 2b66398d0a3..9b4e00f0ee4 100755 --- a/usr.bin/ssh/moduli-gen/moduli-gen.sh +++ b/usr.bin/ssh/moduli-gen/moduli-gen.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: moduli-gen.sh,v 1.2 2013/10/14 02:55:47 dtucker Exp $ +# $OpenBSD: moduli-gen.sh,v 1.3 2017/06/23 03:25:53 dtucker Exp $ # srcdir="$1" @@ -19,7 +19,7 @@ if [ -f ${moduli_part} ]; then fi if [ ! -f ${moduli_sieved} ]; then - ssh-keygen -b ${bits} -G /dev/stdout | \ + for i in 0 1; do ssh-keygen -b ${bits} -G /dev/stdout; done | \ gzip -9c >${moduli_sieved}.tmp && \ mv ${moduli_sieved}.tmp ${moduli_sieved} fi -- 2.20.1