mirror of
https://github.com/golang/go
synced 2024-11-22 22:30:02 -07:00
crypto/tls: remove unused nonAESGCMAEADCiphers variable
It was no longer used since CL 314609
This commit is contained in:
parent
0f0aa5d8a6
commit
20a7fe0778
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user