Skip to content

Commit 47d53a1

Browse files
committed
Mark old CRL APIs as deprecated
1 parent 7935c4f commit 47d53a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

security/advancedtls/crl.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,14 @@ type Cache interface {
5959
type RevocationConfig struct {
6060
// RootDir is the directory to search for CRL files.
6161
// Directory format must match OpenSSL X509_LOOKUP_hash_dir(3).
62+
// Deprecated: use CRLProvider instead.
6263
RootDir string
6364
// AllowUndetermined controls if certificate chains with RevocationUndetermined
6465
// revocation status are allowed to complete.
6566
AllowUndetermined bool
6667
// Cache will store CRL files if not nil, otherwise files are reloaded for every lookup.
68+
// Only used for caching CRLs when using the RootDir setting.
69+
// Deprecated: use CRLProvider instead.
6770
Cache Cache
6871
// CRLProvider is an alternative to using RootDir directly for the
6972
// X509_LOOKUP_hash_dir approach to CRL files. If set, the CRLProvider's CRL

0 commit comments

Comments
 (0)