summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/serialize/stream.rs')
-rw-r--r--openpgp/src/serialize/stream.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs
index 019138b3..1b3c13fd 100644
--- a/openpgp/src/serialize/stream.rs
+++ b/openpgp/src/serialize/stream.rs
@@ -1320,7 +1320,7 @@ impl<'a> Signer<'a> {
let mut sig = self.template.clone()
.set_signature_creation_time(
self.creation_time
- .unwrap_or_else(SystemTime::now))?;
+ .unwrap_or_else(crate::now))?;
if ! self.intended_recipients.is_empty() {
sig = sig.set_intended_recipients(