diff options
Diffstat (limited to 'openpgp/examples/pad.rs')
-rw-r--r-- | openpgp/examples/pad.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/pad.rs b/openpgp/examples/pad.rs index 68efa655..c1c341c8 100644 --- a/openpgp/examples/pad.rs +++ b/openpgp/examples/pad.rs @@ -43,7 +43,7 @@ fn main() { .iter() .flat_map(|cert| { cert.keys() - .set_policy(p, None).alive().revoked(false).key_flags(&mode) + .with_policy(p, None).alive().revoked(false).key_flags(&mode) }) .map(|ka| Recipient::new(KeyID::wildcard(), ka.key())) .collect::<Vec<_>>(); |