From 4da55dc2aaaf9c39d97ef076fc3b88327383c907 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Wed, 30 Jan 2019 21:38:01 +0300 Subject: [PATCH] Fixup of previous commit -- fix build failure --- control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.go b/control.go index a7102373..4598c859 100644 --- a/control.go +++ b/control.go @@ -1107,7 +1107,7 @@ func handleTLSConfigure(w http.ResponseWriter, r *http.Request) { // TODO: save it as a warning rather than error it out -- shouldn't be a big problem mainCert := parsedCerts[0] - chains, err := mainCert.Verify(opts) + _, err = mainCert.Verify(opts) if err != nil { httpError(w, http.StatusBadRequest, "Your certificate does not verify: %s", err) return