This commit is contained in:
Richard Barnes 2015-09-13 22:12:14 -04:00
parent a7484fb1e7
commit 0584cfd53c
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ func main() {
caCert, err := x509.ParseCertificate(caCertDER)
cmd.FailOnError(err, fmt.Sprintf("Couldn't parse cert read from [%s]", c.Common.IssuerCert))
if len(caCert.SubjectKeyId) == 0 {
cmd.FailOnErr(fmt.Errorf("Empty subjectKeyID"), "Unable to use CA certificate")
cmd.FailOnError(fmt.Errorf("Empty subjectKeyID"), "Unable to use CA certificate")
}
// Construct source from DB