Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pgporada committed Apr 18, 2024
1 parent ebef8f0 commit 8280b5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ca/ca.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ func (ca *certificateAuthorityImpl) IssuePrecertificate(ctx context.Context, iss
return nil, err
}

precertDER, certProfileWithID, err := ca.issuePrecertificateInner(ctx, issueReq, serialBigInt, validity)
precertDER, cpwid, err := ca.issuePrecertificateInner(ctx, issueReq, serialBigInt, validity)
if err != nil {
return nil, err
}
Expand All @@ -318,8 +318,8 @@ func (ca *certificateAuthorityImpl) IssuePrecertificate(ctx context.Context, iss

return &capb.IssuePrecertificateResponse{
DER: precertDER,
CertProfileName: certProfileWithID.name,
CertProfileHash: certProfileWithID.hash[:],
CertProfileName: cpwid.name,
CertProfileHash: cpwid.hash[:],
}, nil
}

Expand Down

0 comments on commit 8280b5d

Please sign in to comment.