aboutsummaryrefslogtreecommitdiff
path: root/ssh/test/recording_server_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/test/recording_server_test.go')
-rw-r--r--ssh/test/recording_server_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh/test/recording_server_test.go b/ssh/test/recording_server_test.go
index 6a17040..fe99198 100644
--- a/ssh/test/recording_server_test.go
+++ b/ssh/test/recording_server_test.go
@@ -219,7 +219,7 @@ func recordingsServerConfig() *ssh.ServerConfig {
config.SetDefaults()
// Remove ML-KEM since it only works with Go 1.24.
config.SetDefaults()
- if config.KeyExchanges[0] == "mlkem768x25519-sha256" {
+ if config.KeyExchanges[0] == ssh.KeyExchangeMLKEM768X25519 {
config.KeyExchanges = config.KeyExchanges[1:]
}
config.AddHostKey(testSigners["rsa"])