]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: document that the package supports TLS 1.2
authorRuss Cox <rsc@golang.org>
Mon, 23 Sep 2013 20:05:23 +0000 (16:05 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 23 Sep 2013 20:05:23 +0000 (16:05 -0400)
Fixes #6456.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/13740047

src/pkg/crypto/tls/common.go
src/pkg/crypto/tls/tls.go

index 5fe177e3ce205d7d6c03c6d1dec6ebc149a6e18a..a9b25545df0d22a7af446c71d74e19c580a758fb 100644 (file)
@@ -248,7 +248,7 @@ type Config struct {
 
        // MaxVersion contains the maximum SSL/TLS version that is acceptable.
        // If zero, then the maximum version supported by this package is used,
-       // which is currently TLS 1.1.
+       // which is currently TLS 1.2.
        MaxVersion uint16
 
        serverInitOnce sync.Once // guards calling (*Config).serverInit
index 054e477618ada848331cce3db75f46b3d3d049e4..7c6bd6977f0d410449ff73a63372eb8666432807 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// Package tls partially implements TLS 1.1, as specified in RFC 4346.
+// Package tls partially implements TLS 1.2, as specified in RFC 4346.
 package tls
 
 import (