summaryrefslogtreecommitdiffstats
path: root/openpgp/src/packet/signature/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/packet/signature/mod.rs')
-rw-r--r--openpgp/src/packet/signature/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/packet/signature/mod.rs b/openpgp/src/packet/signature/mod.rs
index 3c549f71..27a73b8c 100644
--- a/openpgp/src/packet/signature/mod.rs
+++ b/openpgp/src/packet/signature/mod.rs
@@ -1485,7 +1485,7 @@ mod test {
let test1 = Cert::from_bytes(
crate::tests::key("test1-certification-key.pgp")).unwrap();
- let cert_key1 = test1.keys()
+ let cert_key1 = test1.keys().policy(None)
.for_certification()
.nth(0)
.map(|ka| ka.key())