Skip to content

Commit

Permalink
Update regHoldsAuthorizations to acctHoldsAuthorizations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel committed Aug 31, 2017
1 parent 38b1c26 commit c4f235a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wfe2/wfe.go
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ func (wfe *WebFrontEndImpl) revokeCertByKeyID(
// certificate by checking that the account has valid authorizations for all
// of the names in the certificate
authorizedToRevoke := func(parsedCertificate *x509.Certificate) *probs.ProblemDetails {
valid, err := wfe.regHoldsAuthorizations(ctx, accountID, parsedCertificate.DNSNames)
valid, err := wfe.acctHoldsAuthorizations(ctx, accountID, parsedCertificate.DNSNames)
if err != nil {
return probs.ServerInternal("Failed to retrieve authorizations for names in certificate")
}
Expand Down

0 comments on commit c4f235a

Please sign in to comment.