diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-01-29 14:50:39 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-01-29 17:41:26 +0100 |
commit | 442740975e41208c1cad300bc023ddedb04fc3a6 (patch) | |
tree | 01ef5d601e9aaed94c8700620ee2ee70bf91193b /ffi/src | |
parent | 51790b4fa46b41eba4c98b14a1193ad8e55b19b3 (diff) |
openpgp-ffi: Explicitly convert to failure::Error.
Diffstat (limited to 'ffi/src')
-rw-r--r-- | ffi/src/net.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/src/net.rs b/ffi/src/net.rs index 5ef0353f..1a2712b4 100644 --- a/ffi/src/net.rs +++ b/ffi/src/net.rs @@ -85,7 +85,7 @@ pub extern "system" fn sq_keyserver_with_cert(ctx: *mut Context, }; let cert = ffi_try!(Certificate::from_der(cert) - .map_err(|e| e.into())); + .map_err(|e| ::failure::Error::from(e))); ffi_try_box!(KeyServer::with_cert(&ctx.c, &uri, cert)) } |