summaryrefslogtreecommitdiff
path: root/internal/sshd/server_config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/sshd/server_config_test.go')
-rw-r--r--internal/sshd/server_config_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/sshd/server_config_test.go b/internal/sshd/server_config_test.go
index f7e0575..a13f3f7 100644
--- a/internal/sshd/server_config_test.go
+++ b/internal/sshd/server_config_test.go
@@ -105,8 +105,8 @@ func TestDefaultAlgorithms(t *testing.T) {
}
func TestCustomAlgorithms(t *testing.T) {
- customMACs := []string{"hmac-sha2-512-etm@openssh.com"}
- customKexAlgos := []string{"curve25519-sha256"}
+ customMACs := []string{ssh.MacAlgoHmacSHA2512ETM}
+ customKexAlgos := []string{ssh.KexAlgoCurve25519SHA256}
customCiphers := []string{"aes256-gcm@openssh.com"}
srvCfg := &serverConfig{