Rodolphe Bréard
2 months ago
Failed to extract signature
1 changed files with
1 additions and
2 deletions
-
acmed/src/certificate.rs
|
|
|
@ -81,8 +81,7 @@ impl Certificate { |
|
|
|
));
|
|
|
|
let expires_in = expires_in.saturating_sub(self.renew_delay);
|
|
|
|
let expires_in = if !self.random_early_renew.is_zero() {
|
|
|
|
expires_in
|
|
|
|
.saturating_sub(rng().random_range(Duration::ZERO..self.random_early_renew))
|
|
|
|
expires_in.saturating_sub(rng().random_range(Duration::ZERO..self.random_early_renew))
|
|
|
|
} else {
|
|
|
|
expires_in
|
|
|
|
};
|
|
|
|
|