diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-21 17:18:05 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-21 17:18:05 +0100 |
commit | 4ac2436feb4a38fa4c5d7f446f6b2926f5f033bb (patch) | |
tree | 7dac4bcea27cc5415061f10800eabe9796d7496b /openpgp-ffi/src | |
parent | 7951394c2d717ce3ae642e8c4304da6e8356ac91 (diff) |
openpgp: Rename Cert::primary to Cert::primary_key.
Diffstat (limited to 'openpgp-ffi/src')
-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 27d5714a..0190595c 100644 --- a/openpgp-ffi/src/cert.rs +++ b/openpgp-ffi/src/cert.rs @@ -153,7 +153,7 @@ fn pgp_cert_as_tsk(cert: *const Cert) -> *mut TSK<'static> { /// The cert still owns the key. The caller must not modify the key. #[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "C" fn pgp_cert_primary_key(cert: *const Cert) -> *const Key { - let key = cert.ref_raw().primary().key() + let key = cert.ref_raw().primary_key().key() .mark_parts_unspecified_ref().mark_role_unspecified_ref(); key.move_into_raw() } |