Browse Source

Remove the undocumented ChallengeHookData::algorithm field

pull/5/head
Rodolphe Breard 6 years ago
parent
commit
548f96e18c
  1. 1
      acmed/src/certificate.rs
  2. 1
      acmed/src/hooks.rs

1
acmed/src/certificate.rs

@ -139,7 +139,6 @@ impl Certificate {
) -> Result<(ChallengeHookData, HookType), Error> { ) -> Result<(ChallengeHookData, HookType), Error> {
let challenge = self.get_domain_challenge(domain)?; let challenge = self.get_domain_challenge(domain)?;
let hook_data = ChallengeHookData { let hook_data = ChallengeHookData {
algorithm: self.algo.to_string(),
challenge: challenge.to_string(), challenge: challenge.to_string(),
domain: domain.to_string(), domain: domain.to_string(),
file_name: file_name.to_string(), file_name: file_name.to_string(),

1
acmed/src/hooks.rs

@ -19,7 +19,6 @@ pub struct PostOperationHookData {
#[derive(Serialize)] #[derive(Serialize)]
pub struct ChallengeHookData { pub struct ChallengeHookData {
pub domain: String, pub domain: String,
pub algorithm: String,
pub challenge: String, pub challenge: String,
pub file_name: String, pub file_name: String,
pub proof: String, pub proof: String,

Loading…
Cancel
Save