Update `regHoldsAuthorizations` to `acctHoldsAuthorizations`.
This commit is contained in:
parent
38b1c2620c
commit
c4f235a614
|
|
@ -681,7 +681,7 @@ func (wfe *WebFrontEndImpl) revokeCertByKeyID(
|
||||||
// certificate by checking that the account has valid authorizations for all
|
// certificate by checking that the account has valid authorizations for all
|
||||||
// of the names in the certificate
|
// of the names in the certificate
|
||||||
authorizedToRevoke := func(parsedCertificate *x509.Certificate) *probs.ProblemDetails {
|
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 {
|
if err != nil {
|
||||||
return probs.ServerInternal("Failed to retrieve authorizations for names in certificate")
|
return probs.ServerInternal("Failed to retrieve authorizations for names in certificate")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue