aboutsummaryrefslogtreecommitdiff
path: root/src/proxy_config.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-09 12:18:23 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-09 12:18:23 +0100
commitfdb83162ce9979184a9d680c5ec4f64235497485 (patch)
tree543d1d0b7c8f63d7a10c38d1d95c8b2e2c8a180f /src/proxy_config.rs
parent8153bdca4618eed76665eeb4c5a005378701df1f (diff)
downloadtricot-fdb83162ce9979184a9d680c5ec4f64235497485.tar.gz
tricot-fdb83162ce9979184a9d680c5ec4f64235497485.zip
Improved management of ACME orders and certificate pre-expiration period
Diffstat (limited to 'src/proxy_config.rs')
-rw-r--r--src/proxy_config.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/proxy_config.rs b/src/proxy_config.rs
index 2c55eb5..820d40a 100644
--- a/src/proxy_config.rs
+++ b/src/proxy_config.rs
@@ -99,7 +99,8 @@ fn parse_tricot_tag(
) -> Option<ProxyEntry> {
let splits = tag.split(' ').collect::<Vec<_>>();
if (splits.len() != 2 && splits.len() != 3)
- || (splits[0] != "tricot" && splits[0] != "tricot-https") {
+ || (splits[0] != "tricot" && splits[0] != "tricot-https")
+ {
return None;
}