File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,14 @@ type Cache interface {
59
59
type RevocationConfig struct {
60
60
// RootDir is the directory to search for CRL files.
61
61
// Directory format must match OpenSSL X509_LOOKUP_hash_dir(3).
62
+ // Deprecated: use CRLProvider instead.
62
63
RootDir string
63
64
// AllowUndetermined controls if certificate chains with RevocationUndetermined
64
65
// revocation status are allowed to complete.
65
66
AllowUndetermined bool
66
67
// 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.
67
70
Cache Cache
68
71
// CRLProvider is an alternative to using RootDir directly for the
69
72
// X509_LOOKUP_hash_dir approach to CRL files. If set, the CRLProvider's CRL
You can’t perform that action at this time.
0 commit comments