[openssh-commits] [openssh] 02/05: upstream: Remove duplicate curve25519-sha256 kex.
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Aug 20 23:02:38 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 7254eb26f7c0772c4b47c3b32f6d1b15855cdd8c
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Tue Aug 20 07:41:35 2024 +0000
upstream: Remove duplicate curve25519-sha256 kex.
curve25519-sha256 at libssh.org is the pre-standardization name for the same
thing, so remove it as a duplicate. Speeds up test by a tiny amount.
OpenBSD-Regress-ID: 5a5ee5fa1595a6e140b1cc16040bedf5996a5715
---
regress/rekey.sh | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/regress/rekey.sh b/regress/rekey.sh
index 4b37ec3f..de9c417d 100644
--- a/regress/rekey.sh
+++ b/regress/rekey.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: rekey.sh,v 1.21 2024/08/20 07:27:25 dtucker Exp $
+# $OpenBSD: rekey.sh,v 1.22 2024/08/20 07:41:35 dtucker Exp $
# Placed in the Public Domain.
tid="rekey"
@@ -37,13 +37,19 @@ ssh_data_rekeying()
increase_datafile_size 300
opts=""
-for i in `${SSH} -Q kex`; do
+
+# Filter out duplicate curve algo
+kexs=`${SSH} -Q kex | grep -v curve25519-sha256 at libssh.org`
+ciphers=`${SSH} -Q cipher`
+macs=`${SSH} -Q mac`
+
+for i in $kexs; do
opts="$opts KexAlgorithms=$i"
done
-for i in `${SSH} -Q cipher`; do
+for i in $ciphers; do
opts="$opts Ciphers=$i"
done
-for i in `${SSH} -Q mac`; do
+for i in $macs; do
opts="$opts MACs=$i"
done
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list