summaryrefslogtreecommitdiff
path: root/internal/sshd/server_config_test.go
diff options
context:
space:
mode:
authorMarshall Cottrell <mcottrell@gitlab.com>2022-05-23 16:54:14 -0400
committerMarshall Cottrell <mcottrell@gitlab.com>2022-05-23 16:54:14 -0400
commit06a0ffe73ccde266f6e80b3846087caa20dfec96 (patch)
tree35e026007eb7c63829d407aea8a9bf0439f73c1f /internal/sshd/server_config_test.go
parentc40ad688ed72357a58ba8481ba9382cabfc59375 (diff)
downloadgitlab-shell-marshall_algo-consts.tar.gz
reference kex and mac algo constantsmarshall_algo-consts
Depends on gitlab-org/golang-crypto!5
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{