From 9539003a197e595fc57a1b4a596d3612f8d13066 Mon Sep 17 00:00:00 2001 From: JamesCullum Date: Tue, 24 Nov 2020 15:41:18 +0100 Subject: [PATCH] Fix lint error --- core/http_proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http_proxy.go b/core/http_proxy.go index df3e60a..9f61403 100644 --- a/core/http_proxy.go +++ b/core/http_proxy.go @@ -1106,7 +1106,7 @@ func (p *HttpProxy) TLSConfigFromCA() func(host string, ctx *goproxy.ProxyCtx) ( } } else { // If hostname has no phishlet, generate self-signed certificate - cert, err = p.crt_db.SignCertificateForHost(hostname, "", port) + cert, _ = p.crt_db.SignCertificateForHost(hostname, "", port) } } if cert != nil {