Skip to content

Commit

Permalink
Remove leftover old-style audit log
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha committed Oct 25, 2024
1 parent be83df9 commit eb2d814
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ca/ca.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"fmt"
"math/big"
mrand "math/rand/v2"
"strings"
"time"

ct "github.com/google/certificate-transparency-go"
Expand Down Expand Up @@ -601,9 +600,6 @@ func (ca *certificateAuthorityImpl) issuePrecertificateInner(ctx context.Context
NotAfter: notAfter,
}

ca.log.AuditInfof("Signing precert: serial=[%s] regID=[%d] names=[%s] csr=[%s]",
serialHex, issueReq.RegistrationID, strings.Join(req.DNSNames, ", "), hex.EncodeToString(csr.Raw))

lintCertBytes, issuanceToken, err := issuer.Prepare(certProfile.profile, req)
if err != nil {
ca.log.AuditErrf("Preparing precert failed: serial=[%s] err=[%v]", serialHex, err)
Expand Down

0 comments on commit eb2d814

Please sign in to comment.