Update `regHoldsAuthorizations` to `acctHoldsAuthorizations`.

This commit is contained in:
Daniel 2017-08-31 16:12:29 -04:00
parent 38b1c2620c
commit c4f235a614
No known key found for this signature in database
GPG Key ID: 08FB2BFC470E75B4
1 changed files with 1 additions and 1 deletions

View File

@ -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")
} }