summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/amalgamation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/cert/amalgamation.rs')
-rw-r--r--openpgp/src/cert/amalgamation.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/openpgp/src/cert/amalgamation.rs b/openpgp/src/cert/amalgamation.rs
index f7c4e51d..9e3c31a1 100644
--- a/openpgp/src/cert/amalgamation.rs
+++ b/openpgp/src/cert/amalgamation.rs
@@ -1109,9 +1109,8 @@ where C: IntoIterator<Item = S>,
let creation_time =
time::SystemTime::now() - time::Duration::new(SIG_BACKDATE_BY, 0);
- let template = SignatureBuilder::new(SignatureType::AttestationKey)
- .set_signature_creation_time(creation_time)?;
- template
+ SignatureBuilder::new(SignatureType::AttestationKey)
+ .set_signature_creation_time(creation_time)?
};
let template = template