From cc0d1dcd3bc109874421ec3e0673d6685f4c4753 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Sun, 10 Feb 2019 09:41:14 -0800 Subject: [PATCH] Run latest goimports. Reformats things slightly. --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 7c311f8..fc16071 100644 --- a/main.go +++ b/main.go @@ -140,8 +140,8 @@ func makeRootCert(key crypto.Signer, filename string) (*x509.Certificate, error) KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageCertSign, ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth}, BasicConstraintsValid: true, - IsCA: true, - MaxPathLenZero: true, + IsCA: true, + MaxPathLenZero: true, } der, err := x509.CreateCertificate(rand.Reader, template, template, key.Public(), key) @@ -226,7 +226,7 @@ func sign(iss *issuer, domains []string, ipAddresses []string) (*x509.Certificat KeyUsage: x509.KeyUsageDigitalSignature | x509.KeyUsageKeyEncipherment, ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth}, BasicConstraintsValid: true, - IsCA: false, + IsCA: false, } der, err := x509.CreateCertificate(rand.Reader, template, iss.cert, key.Public(), iss.key) if err != nil {