summaryrefslogtreecommitdiff
path: root/openssl/src/pkcs12.rs
diff options
context:
space:
mode:
authorPaul Florence <florencepaul@hotmail.fr>2017-11-10 10:05:52 -0500
committerPaul Florence <florencepaul@hotmail.fr>2017-11-10 10:05:52 -0500
commit0bae121e1268565eb29e90e68b8c5e98ab1fe979 (patch)
treeac7fc87f39f98b905fa8c388b498749f28b18413 /openssl/src/pkcs12.rs
parent65c1c4e039061a7deb201c0253890c406d85806a (diff)
downloadrust-openssl-0bae121e1268565eb29e90e68b8c5e98ab1fe979.zip
Added a macro that wraps foreign type, and impl Send and Sync for both,
the borrowed type and the owned one. Replaced all invocation of `foreign_type` by `foreign_type_and_impl_send_sync`.
Diffstat (limited to 'openssl/src/pkcs12.rs')
-rw-r--r--openssl/src/pkcs12.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/pkcs12.rs b/openssl/src/pkcs12.rs
index 6e42f73b..86111280 100644
--- a/openssl/src/pkcs12.rs
+++ b/openssl/src/pkcs12.rs
@@ -13,7 +13,7 @@ use x509::X509;
use stack::Stack;
use nid;
-foreign_type! {
+foreign_type_and_impl_send_sync! {
type CType = ffi::PKCS12;
fn drop = ffi::PKCS12_free;