summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src/crypto.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp-ffi/src/crypto.rs')
-rw-r--r--openpgp-ffi/src/crypto.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp-ffi/src/crypto.rs b/openpgp-ffi/src/crypto.rs
index 2e3ef661..94e1a81d 100644
--- a/openpgp-ffi/src/crypto.rs
+++ b/openpgp-ffi/src/crypto.rs
@@ -67,7 +67,8 @@ pub extern "C" fn pgp_signer_free
/// Creates a new key pair.
#[::sequoia_ffi_macros::extern_fn] #[no_mangle]
pub extern "C" fn pgp_key_pair_new
- (errp: Option<&mut *mut ::error::Error>, public: *mut Key, secret: *mut crypto::mpis::SecretKey)
+ (errp: Option<&mut *mut ::error::Error>, public: *mut Key,
+ secret: *mut openpgp::packet::key::Unencrypted)
-> *mut crypto::KeyPair
{
ffi_make_fry_from_errp!(errp);