Skip to content

Commit

Permalink
cspki: gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jvehent committed May 21, 2019
1 parent 91aa305 commit 028d536
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions signer/contentsignaturepki/x509.go
Expand Up @@ -96,12 +96,12 @@ func (s *ContentSigner) makeChain() (chain string, name string, err error) {
Province: []string{"California"},
Locality: []string{"Mountain View"},
},
DNSNames: []string{cn},
NotBefore: notBefore,
NotAfter: notAfter,
IsCA: false,
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageCodeSigning},
KeyUsage: x509.KeyUsageDigitalSignature,
DNSNames: []string{cn},
NotBefore: notBefore,
NotAfter: notAfter,
IsCA: false,
ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageCodeSigning},
KeyUsage: x509.KeyUsageDigitalSignature,
}

certBytes, err := x509.CreateCertificate(s.rand, crtTpl, issuer, s.eePub, s.issuerPriv)
Expand Down

0 comments on commit 028d536

Please sign in to comment.