diff options
author | Paul Tötterman <ptman@users.noreply.github.com> | 2016-06-01 11:11:28 +0300 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-06-01 01:11:28 -0700 |
commit | fb970b9d87ef662e429e651da459445d91020ccf (patch) | |
tree | c0389cdb86c53d18cd15f9e9d33da5b89d98c683 /conf | |
parent | 0240f520ab2565749b7244e79ca2f30f780af46d (diff) | |
download | gitea-fb970b9d87ef662e429e651da459445d91020ccf.tar.gz gitea-fb970b9d87ef662e429e651da459445d91020ccf.zip |
Add ServerName to tls.Config in LDAP auth (#3104)
From https://godoc.org/crypto/tls#Config
ServerName is used to verify the hostname on the returned
certificates unless InsecureSkipVerify is given. It is also included
in the client's handshake to support virtual hosting unless it is
an IP address.
This is needed for certificate validation without InsecureSkipVerify.
Diffstat (limited to 'conf')
0 files changed, 0 insertions, 0 deletions