refactor: remove artifact from web-time refactor (#1049)
This commit is contained in:
@@ -346,10 +346,7 @@ fn dkim_canonicalize_headers<'a>(
|
||||
/// Sign with Dkim a message by adding Dkim-Signature header created with configuration expressed by
|
||||
/// `dkim_config`
|
||||
pub fn dkim_sign(message: &mut Message, dkim_config: &DkimConfig) {
|
||||
#[cfg(feature = "web")]
|
||||
dkim_sign_fixed_time(message, dkim_config, crate::time::now());
|
||||
#[cfg(not(feature = "web"))]
|
||||
dkim_sign_fixed_time(message, dkim_config, SystemTime::now());
|
||||
}
|
||||
|
||||
fn dkim_sign_fixed_time(message: &mut Message, dkim_config: &DkimConfig, timestamp: SystemTime) {
|
||||
|
||||
Reference in New Issue
Block a user