summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src/crypto.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-01-29 14:16:30 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-01-29 17:41:26 +0100
commite5f3ae121f39b46cbc0416acb4ba7049f40203d2 (patch)
tree96b9c4881271006f76e8e3f6ff90cfe2335e8d20 /openpgp-ffi/src/crypto.rs
parent442740975e41208c1cad300bc023ddedb04fc3a6 (diff)
openpgp-ffi: Convert Error.
Diffstat (limited to 'openpgp-ffi/src/crypto.rs')
-rw-r--r--openpgp-ffi/src/crypto.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp-ffi/src/crypto.rs b/openpgp-ffi/src/crypto.rs
index c1a65ace..eebd7f3a 100644
--- a/openpgp-ffi/src/crypto.rs
+++ b/openpgp-ffi/src/crypto.rs
@@ -21,7 +21,7 @@ pub extern "system" fn pgp_signer_free
/// Creates a new key pair.
#[::ffi_catch_abort] #[no_mangle]
pub extern "system" fn pgp_key_pair_new
- (errp: Option<&mut *mut failure::Error>, public: *mut Key, secret: *mut crypto::mpis::SecretKey)
+ (errp: Option<&mut *mut ::error::Error>, public: *mut Key, secret: *mut crypto::mpis::SecretKey)
-> *mut crypto::KeyPair
{
ffi_make_fry_from_errp!(errp);