diff options
Diffstat (limited to 'openpgp/examples/notarize.rs')
-rw-r--r-- | openpgp/examples/notarize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/examples/notarize.rs b/openpgp/examples/notarize.rs index 62042e60..83e34cee 100644 --- a/openpgp/examples/notarize.rs +++ b/openpgp/examples/notarize.rs @@ -31,7 +31,7 @@ fn main() { let mut n = 0; for key in tsk.keys() - .set_policy(p, None).alive().revoked(false).for_signing().secret() + .with_policy(p, None).alive().revoked(false).for_signing().secret() .map(|ka| ka.key()) { keys.push({ |