0.34.13_cleaup_code

This commit is contained in:
Mateusz Gruszczyński committed 2026-10-26 14:14:41 +01:00
1 parent ec46a96a29
commit 5c2e50ec06
87 files changed
+4890 -1338

No files matched your search

+3 -1
View File
@@ -132,7 +132,9 @@ pub fn import(directory: &Path, name: &str, cert: PathBuf, key: PathBuf) -> Resu
#[derive(Debug, PartialEq, Eq)]
pub enum ExternalPairDeployment {
Unchanged { covered_hosts: Vec<String> },
Unchanged {
covered_hosts: Vec<String>,
},
Staged {
cert_file: String,
key_file: String,
+4 -1
View File
@@ -358,7 +358,10 @@ pub fn compile(settings: &Settings, directory: Option<&Path>) -> Result<Option<A
.strip_prefix("*.")
.map(|base| format!("rustproxy-wildcard-check.{base}"))
.unwrap_or_else(|| host.clone());
if !settings.forced_mismatches.contains(&(cert.id.clone(), host.clone())) {
if !settings
.forced_mismatches
.contains(&(cert.id.clone(), host.clone()))
{
let mut checker = ResolvesServerCertUsingSni::new();
checker
.add(&validation_name, key.clone())