aboutsummaryrefslogtreecommitdiff
path: root/core/https/handshake.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-03-19 14:46:32 +0000
committerGravatar Miek Gieben <miek@miek.nl> 2016-03-19 14:46:32 +0000
commitd933bb26668583bf49d9ae87752fdb139a57e21c (patch)
tree19dbc41bab6d4d7d7e8da2d361f27085febe3b13 /core/https/handshake.go
parent01d5804c1339a62112cb27d5f2238acb7154a734 (diff)
downloadcoredns-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.go6
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)
}