diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2013-04-03 10:52:20 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2013-04-03 10:52:20 -0700 |
| commit | ca24f9ec00c65f8e75e38ad33d1b0b3bb287e2a3 (patch) | |
| tree | 9fc936c87cffefb20f3c0aeb7ab7b8aeacd4f007 /src/pkg/database/sql/sql.go | |
| parent | 3c0a5b8636409ca69f6afa8309e6cbe299a5af1d (diff) | |
| download | go-ca24f9ec00c65f8e75e38ad33d1b0b3bb287e2a3.tar.xz | |
net/smtp: allow PLAIN auth when advertised
The smtp package originally allowed PLAIN whenever, but then
the TLS check was added for paranoia, but it's too paranoid:
it prevents using PLAIN auth even from localhost to localhost
when the server advertises PLAIN support.
This CL also permits the client to send PLAIN if the server
advertises it.
Fixes #5184
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/8279043
Diffstat (limited to 'src/pkg/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions
