diff options
Diffstat (limited to 'openpgp-ffi/src/cert.rs')
-rw-r--r-- | openpgp-ffi/src/cert.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/src/cert.rs b/openpgp-ffi/src/cert.rs index bf11d925..ca8a9cf7 100644 --- a/openpgp-ffi/src/cert.rs +++ b/openpgp-ffi/src/cert.rs @@ -537,7 +537,7 @@ pub extern "C" fn pgp_cert_key_iter_policy<'a>( box_raw!(ValidKeyIterWrapper { iter: unsafe { - std::mem::transmute(tmp.set_policy(&**policy, maybe_time(when))) + std::mem::transmute(tmp.with_policy(&**policy, maybe_time(when))) }, next_called: false, }) |