Use CRLConfig.IsEnabled

This commit is contained in:
Herman Slatman
2023-05-02 15:17:50 +02:00
parent 60a4512abe
commit 5e35aca29c

View File

@@ -336,7 +336,7 @@ func (ca *CA) shouldServeInsecureServer() bool {
return false
case ca.shouldServeSCEPEndpoints():
return true
case ca.config.CRL != nil && ca.config.CRL.Enabled:
case ca.config.CRL.IsEnabled():
return true
default:
return false