[openssh-commits] [openssh] 05/05: upstream: Merge AEAD test into main test loop.
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Aug 20 23:02:41 AEST 2024
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 4442bbc2fc661277a6dabfedb756a7e15ee8b8b8
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Tue Aug 20 09:15:49 2024 +0000
upstream: Merge AEAD test into main test loop.
Removes 3 duplicate tests and speeds overall test up by about 1%.
OpenBSD-Regress-ID: 5e5c9ff3f7588091ed369e34ac28520490ad2619
---
regress/rekey.sh | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/regress/rekey.sh b/regress/rekey.sh
index 24c5a380..356e915c 100644
--- a/regress/rekey.sh
+++ b/regress/rekey.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: rekey.sh,v 1.24 2024/08/20 09:02:45 dtucker Exp $
+# $OpenBSD: rekey.sh,v 1.25 2024/08/20 09:15:49 dtucker Exp $
# Placed in the Public Domain.
tid="rekey"
@@ -58,19 +58,17 @@ done
for opt in $opts; do
verbose "client rekey $opt"
- ssh_data_rekeying "$opt"
+ if ${SSH} -Q cipher-auth | sed 's/^/Ciphers=/' | \
+ grep $opt >/dev/null; then
+ trace AEAD cipher, testing all KexAlgorithms
+ for kex in $kexs; do
+ ssh_data_rekeying "KexAlgorithms=$kex" "-o$opt"
+ done
+ else
+ ssh_data_rekeying "$opt"
+ fi
done
-# AEAD ciphers are magical so test with all KexAlgorithms
-if ${SSH} -Q cipher-auth | grep '^.*$' >/dev/null 2>&1 ; then
- for c in `${SSH} -Q cipher-auth`; do
- for kex in `${SSH} -Q kex`; do
- verbose "client rekey $c $kex"
- ssh_data_rekeying "KexAlgorithms=$kex" -oCiphers=$c
- done
- done
-fi
-
for s in 16 1k 128k 256k; do
verbose "client rekeylimit ${s}"
ssh_data_rekeying "" -oRekeyLimit=$s
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list