Fixup of previous commit -- fix build failure
This commit is contained in:
parent
3d3e0784ea
commit
4da55dc2aa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue