Canonicalize the DKIM header
This commit is contained in:
parent
2fb6dd7c14
commit
d78fd34995
1 changed files with 3 additions and 1 deletions
|
@ -71,7 +71,9 @@ impl Signature {
|
|||
hasher.update(&header);
|
||||
}
|
||||
}
|
||||
hasher.update(self.get_header().as_bytes());
|
||||
let dkim_header = self.get_header();
|
||||
let dkim_header = self.canonicalization.process_header(dkim_header.as_bytes());
|
||||
hasher.update(dkim_header);
|
||||
hasher.finalize().to_vec()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue