Fixup of previous commit -- fix build failure

This commit is contained in:
Eugene Bujak 2019-01-30 21:38:01 +03:00 committed by Eugene Bujak
parent 3d3e0784ea
commit 4da55dc2aa

View file

@ -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