From f12d5771dcb5d348cdc64e88913269f494cefc7a Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Fri, 12 Oct 2018 07:55:47 +0200 Subject: [PATCH] cmd/syncthing: We can use Go 1.8 constants now --- cmd/syncthing/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 597cf5290..e54ac7637 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -691,8 +691,8 @@ func syncthingMain(runtimeOptions RuntimeOptions) { InsecureSkipVerify: true, MinVersion: tls.VersionTLS12, CipherSuites: []uint16{ - 0xCCA8, // TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, Go 1.8 - 0xCCA9, // TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, Go 1.8 + tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, + tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,