]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: document that the cipher suite list is non-exhaustive.
authorAdam Langley <agl@golang.org>
Thu, 10 Mar 2016 23:49:30 +0000 (15:49 -0800)
committerAdam Langley <agl@golang.org>
Sat, 12 Mar 2016 00:20:51 +0000 (00:20 +0000)
Fixes #14370.

Change-Id: Ieb95ee3494f592fb5fc74aa4b803479671816927
Reviewed-on: https://go-review.googlesource.com/20551
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/tls/cipher_suites.go

index 224ed1bc86c4e82ecb87ea7014c2d3525ad5fecc..d4d75cbff89165c689fdcbe535805914835723ed 100644 (file)
@@ -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