Преглед изворни кода

crypto/tls: Correct minimum version in comment

Commit 604fa4d5 made TLS 1.0 the default minimum version. This commit
amends a comment to reflect that.

This is where the default is used in the absence of an explicit version
being set:
edadffa2f3/src/crypto/tls/common.go (L391-L393)

Change-Id: I8f1117ecdddc85bb1cc76a6834026505a380b793
Reviewed-on: https://go-review.googlesource.com/5525
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
Reviewed-by: Minux Ma <minux@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
v1.2.3
Matt Bostock пре 9 година
committed by Adam Langley
родитељ
комит
1282c034fb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      common.go

+ 1
- 1
common.go Прегледај датотеку

@@ -331,7 +331,7 @@ type Config struct {
ClientSessionCache ClientSessionCache

// MinVersion contains the minimum SSL/TLS version that is acceptable.
// If zero, then SSLv3 is taken as the minimum.
// If zero, then TLS 1.0 is taken as the minimum.
MinVersion uint16

// MaxVersion contains the maximum SSL/TLS version that is acceptable.


Loading…
Откажи
Сачувај