Add the missing revocation_list method
This commit is contained in:
parent
1576a990fe
commit
9438ab4af4
1 changed files with 8 additions and 1 deletions
|
@ -5,7 +5,7 @@ use std::collections::HashSet;
|
|||
use std::fs::File;
|
||||
use std::io::{BufRead, BufReader};
|
||||
use std::num::NonZeroU64;
|
||||
use std::path::PathBuf;
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
#[derive(Parser, Debug)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
|
@ -57,6 +57,13 @@ impl Config {
|
|||
&self.domain
|
||||
}
|
||||
|
||||
pub fn revocation_list(&self) -> Option<&Path> {
|
||||
match &self.revocation_list {
|
||||
Some(p) => Some(p),
|
||||
None => None,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn headers(&self) -> &[String] {
|
||||
&self.header
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue