aboutsummaryrefslogtreecommitdiff
path: root/solve_tls.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-09 23:06:31 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-09 23:06:31 +0100
commitb4dd257d920efbae2ab1f400c08b49982593881a (patch)
treeeed16c14ecd9be30248ab1b261813bcabfeb74f8 /solve_tls.go
parentc12834eb15a69bb8c9f676998029f8a338c6b294 (diff)
Split stages
Diffstat (limited to 'solve_tls.go')
-rw-r--r--solve_tls.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/solve_tls.go b/solve_tls.go
index babc5e4..8dbf496 100644
--- a/solve_tls.go
+++ b/solve_tls.go
@@ -29,6 +29,9 @@ func (s *tlsSolver) getCert(h *tls.ClientHelloInfo) (*tls.Certificate, error) {
}
func NewTLSSolver(addr string) (Solver, error) {
+ if addr == "" {
+ return nil, ErrSkipped
+ }
// we need at least one cert
dummy, err := newCert("dummy" + AcmeInvalid)
if err != nil {