diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-02-24 16:00:02 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-02-24 17:10:13 +0100 |
commit | 05780a65b4651382c9135257ed744eed8666f81a (patch) | |
tree | c2787ddb1ccc1abb3eae953d09bc5a65994a9b86 /openpgp-ffi | |
parent | 33ac00274a7bc606986878ed860248e013542175 (diff) |
openpgp: Check critical notations against good-list.
- See #274.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r-- | openpgp-ffi/src/policy.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/src/policy.rs b/openpgp-ffi/src/policy.rs index dec5dfa0..1be75ef2 100644 --- a/openpgp-ffi/src/policy.rs +++ b/openpgp-ffi/src/policy.rs @@ -24,7 +24,7 @@ pub struct Policy(Box<dyn policy::Policy>); #[crate::ffi_wrapper_type( prefix = "pgp_", derive = "Clone, Debug")] -pub struct StandardPolicy(policy::StandardPolicy); +pub struct StandardPolicy<'a>(policy::StandardPolicy<'a>); /// Returns a new standard policy. #[::sequoia_ffi_macros::extern_fn] #[no_mangle] |