From: Adam Langley Date: Thu, 10 Mar 2016 23:49:30 +0000 (-0800) Subject: crypto/tls: document that the cipher suite list is non-exhaustive. X-Git-Tag: go1.7beta1~1378 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=055dcb75665992454454894e87216a2aa2215e4f;p=gostls13.git crypto/tls: document that the cipher suite list is non-exhaustive. Fixes #14370. Change-Id: Ieb95ee3494f592fb5fc74aa4b803479671816927 Reviewed-on: https://go-review.googlesource.com/20551 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/crypto/tls/cipher_suites.go b/src/crypto/tls/cipher_suites.go index 224ed1bc86..d4d75cbff8 100644 --- a/src/crypto/tls/cipher_suites.go +++ b/src/crypto/tls/cipher_suites.go @@ -261,8 +261,10 @@ func mutualCipherSuite(have []uint16, want uint16) *cipherSuite { return nil } -// A list of the possible cipher suite ids. Taken from -// http://www.iana.org/assignments/tls-parameters/tls-parameters.xml +// A list of cipher suite IDs that are, or have been, implemented by this +// package. +// +// Taken from http://www.iana.org/assignments/tls-parameters/tls-parameters.xml const ( TLS_RSA_WITH_RC4_128_SHA uint16 = 0x0005 TLS_RSA_WITH_3DES_EDE_CBC_SHA uint16 = 0x000a