]> Cypherpunks.ru repositories - gostls13.git/commitdiff
crypto/tls: remove unused nonAESGCMAEADCiphers variable
authorSebastiaan van Stijn <github@gone.nl>
Mon, 14 Nov 2022 20:29:26 +0000 (20:29 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 24 May 2023 21:17:41 +0000 (21:17 +0000)
It was no longer used since CL 314609

Change-Id: Id103b7490a6088a589d76442d3740f8a1453c25d
GitHub-Last-Rev: 20a7fe0778fbfcfd789a194456e87dd4a60b655e
GitHub-Pull-Request: golang/go#56608
Reviewed-on: https://go-review.googlesource.com/c/go/+/448277
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>

src/crypto/tls/cipher_suites.go

index 04e6dfe0189b47e657b78e1a46185a33010deb3d..589e8b6fafbba3055b02d2a51d0c3bfcf0e5626d 100644 (file)
@@ -377,14 +377,6 @@ var aesgcmCiphers = map[uint16]bool{
        TLS_AES_256_GCM_SHA384: true,
 }
 
-var nonAESGCMAEADCiphers = map[uint16]bool{
-       // TLS 1.2
-       TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305:   true,
-       TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305: true,
-       // TLS 1.3
-       TLS_CHACHA20_POLY1305_SHA256: true,
-}
-
 // aesgcmPreferred returns whether the first known cipher in the preference list
 // is an AES-GCM cipher, implying the peer has hardware support for it.
 func aesgcmPreferred(ciphers []uint16) bool {