diff --git a/authority/provisioner/acme.go b/authority/provisioner/acme.go index 959aa0266..7c4f0acba 100644 --- a/authority/provisioner/acme.go +++ b/authority/provisioner/acme.go @@ -8,7 +8,6 @@ import ( "fmt" "net" "net/http" - "slices" "strings" "sync/atomic" "time" @@ -512,7 +511,7 @@ func (p *ACME) GetAttestationRoots() (*x509.CertPool, bool) { func (p *ACME) IsAndroidCertificateRevoked(ctx context.Context, cert *x509.Certificate) (bool, error) { // the check only has to be performed when the "android-key" attestation // format is enabled - if !slices.Contains(p.AttestationFormats, ANDROIDKEY) { + if !p.IsAttestationFormatEnabled(ctx, ANDROIDKEY) { return false, nil }