update deps ...

... and adapt the code to the new constants I added to
golang.org/x/crypto/ssh

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2025-05-19 19:42:36 +02:00
parent e275e8a142
commit 3f7533b86a
9 changed files with 63 additions and 63 deletions

View File

@@ -453,9 +453,9 @@ func (c *Configuration) checkKeyExchangeAlgorithms() {
}
kexs = append(kexs, k)
if strings.TrimSpace(k) == keyExchangeCurve25519SHA256LibSSH {
kexs = append(kexs, ssh.KeyExchangeCurve25519SHA256)
kexs = append(kexs, ssh.KeyExchangeCurve25519)
}
if strings.TrimSpace(k) == ssh.KeyExchangeCurve25519SHA256 {
if strings.TrimSpace(k) == ssh.KeyExchangeCurve25519 {
kexs = append(kexs, keyExchangeCurve25519SHA256LibSSH)
}
}