diff options
author | 2016-03-19 14:46:32 +0000 | |
---|---|---|
committer | 2016-03-19 14:46:32 +0000 | |
commit | d933bb26668583bf49d9ae87752fdb139a57e21c (patch) | |
tree | 19dbc41bab6d4d7d7e8da2d361f27085febe3b13 /core/https/handshake.go | |
parent | 01d5804c1339a62112cb27d5f2238acb7154a734 (diff) | |
download | coredns-d933bb26668583bf49d9ae87752fdb139a57e21c.tar.gz coredns-d933bb26668583bf49d9ae87752fdb139a57e21c.tar.zst coredns-d933bb26668583bf49d9ae87752fdb139a57e21c.zip |
Make whole heap of tests better
Diffstat (limited to 'core/https/handshake.go')
-rw-r--r-- | core/https/handshake.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/https/handshake.go b/core/https/handshake.go index 4c1fc22c3..1334b9ff4 100644 --- a/core/https/handshake.go +++ b/core/https/handshake.go @@ -76,11 +76,7 @@ func getCertDuringHandshake(name string, loadIfNecessary, obtainIfNecessary bool return Certificate{}, err } - // Name has to qualify for a certificate - if !HostQualifies(name) { - return cert, errors.New("hostname '" + name + "' does not qualify for certificate") - } - + // TODO(miek): deleted, tls will be enabled when a keyword is specified. // Obtain certificate from the CA return obtainOnDemandCertificate(name) } |