From: Matt Bostock Date: Sun, 22 Feb 2015 01:14:36 +0000 (+0000) Subject: crypto/tls: Correct minimum version in comment X-Git-Tag: go1.5beta1~1433 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f279cadfa48073da2527e0b48bad08d5330ba623;p=gostls13.git 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: https://github.com/golang/go/blob/edadffa2f3464c48a234f3cf2fc092a03f91824f/src/crypto/tls/common.go#L391-L393 Change-Id: I8f1117ecdddc85bb1cc76a6834026505a380b793 Reviewed-on: https://go-review.googlesource.com/5525 Reviewed-by: Mikio Hara Reviewed-by: Minux Ma Reviewed-by: Adam Langley --- diff --git a/src/crypto/tls/common.go b/src/crypto/tls/common.go index 43b3f6b1d8..584a361558 100644 --- a/src/crypto/tls/common.go +++ b/src/crypto/tls/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.