瀏覽代碼

crypto/tls: document that the package supports TLS 1.2

Fixes #6456.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/13740047
v1.2.3
Russ Cox 11 年之前
父節點
當前提交
a40b48d4e0
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      common.go
  2. +1
    -1
      tls.go

+ 1
- 1
common.go 查看文件

@@ -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


+ 1
- 1
tls.go 查看文件

@@ -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 (


Loading…
取消
儲存