From: dtucker Date: Fri, 23 Jun 2017 03:25:53 +0000 (+0000) Subject: Run the screen twice so we end up with more candidate groups. ok djm@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6266c6e9fc1551b29f14d33037ff3faa5e47c58a;p=openbsd Run the screen twice so we end up with more candidate groups. ok djm@ --- 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