From 58cf9f6d8a8fc64fce82185fdba1ca159d200db6 Mon Sep 17 00:00:00 2001 From: Tim Cooper Date: Fri, 5 Dec 2014 07:58:11 -0400 Subject: [PATCH] fix due to gumble API changes --- cmd/barnard/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/barnard/main.go b/cmd/barnard/main.go index ba086c5..1e60f4f 100644 --- a/cmd/barnard/main.go +++ b/cmd/barnard/main.go @@ -32,14 +32,14 @@ func main() { Listener: &b, } if *insecure { - b.Config.TlsConfig.InsecureSkipVerify = true + b.Config.TLSConfig.InsecureSkipVerify = true } if *certificate != "" { if cert, err := tls.LoadX509KeyPair(*certificate, *certificate); err != nil { fmt.Fprintf(os.Stderr, "%s\n", err) os.Exit(1) } else { - b.Config.TlsConfig.Certificates = []tls.Certificate{cert} + b.Config.TLSConfig.Certificates = []tls.Certificate{cert} } }