Skip to content

Commit

Permalink
Mark old CRL APIs as deprecated (#6810)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtcooke94 authored Nov 21, 2023
1 parent 7935c4f commit 287c473
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions security/advancedtls/crl.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,14 @@ type Cache interface {
type RevocationConfig struct {
// RootDir is the directory to search for CRL files.
// Directory format must match OpenSSL X509_LOOKUP_hash_dir(3).
// Deprecated: use CRLProvider instead.
RootDir string
// AllowUndetermined controls if certificate chains with RevocationUndetermined
// revocation status are allowed to complete.
AllowUndetermined bool
// Cache will store CRL files if not nil, otherwise files are reloaded for every lookup.
// Only used for caching CRLs when using the RootDir setting.
// Deprecated: use CRLProvider instead.
Cache Cache
// CRLProvider is an alternative to using RootDir directly for the
// X509_LOOKUP_hash_dir approach to CRL files. If set, the CRLProvider's CRL
Expand Down

0 comments on commit 287c473

Please sign in to comment.