Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(120)

Issue 65440043: code review 65440043: crypto/tls: improve documentation for ServerName. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by agl1
Modified:
11 years, 1 month ago
Reviewers:
gobot, bradfitz
CC:
golang-codereviews, bradfitz
Visibility:
Public.

Description

crypto/tls: improve documentation for ServerName. Users of the low-level, Client function are frequenctly missing the fact that, unless they pass a ServerName to the TLS connection then it cannot verify the certificates against any name. This change makes it clear that at least one of InsecureSkipVerify and ServerName should always be set.

Patch Set 1 #

Patch Set 2 : diff -r 7f2863716967 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 7f2863716967 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 306e64f0c0cf https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M src/pkg/crypto/tls/common.go View 1 1 chunk +3 lines, -2 lines 0 comments Download
M src/pkg/crypto/tls/tls.go View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 4
agl1
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 1 month ago (2014-02-18 18:52:30 UTC) #1
bradfitz
LGTM On Tue, Feb 18, 2014 at 10:52 AM, <agl@golang.org> wrote: > Reviewers: golang-codereviews, > ...
11 years, 1 month ago (2014-02-19 00:05:45 UTC) #2
agl1
*** Submitted as https://code.google.com/p/go/source/detail?r=50f617f47bbc *** crypto/tls: improve documentation for ServerName. Users of the low-level, Client ...
11 years, 1 month ago (2014-02-19 16:17:31 UTC) #3
gobot
11 years, 1 month ago (2014-02-19 18:10:05 UTC) #4
Message was sent while issue was closed.
This CL appears to have broken the windows-386-ec2 builder.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b