aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2015-12-09 23:30:29 -0800
committerSteven Fackler <[email protected]>2015-12-09 23:30:29 -0800
commit91f8c542f75ff81ce7f3f12f26c469127ff0ab18 (patch)
tree29e318fcd0031daeb420609ac0bcf1cc069f391e /openssl-sys/src
parentImplement read and write (diff)
downloadrust-openssl-91f8c542f75ff81ce7f3f12f26c469127ff0ab18.tar.xz
rust-openssl-91f8c542f75ff81ce7f3f12f26c469127ff0ab18.zip
Replace SslStream implementation!
Diffstat (limited to 'openssl-sys/src')
-rw-r--r--openssl-sys/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs
index 03824e05..07401abb 100644
--- a/openssl-sys/src/lib.rs
+++ b/openssl-sys/src/lib.rs
@@ -47,6 +47,8 @@ pub type bio_info_cb = Option<unsafe extern "C" fn(*mut BIO,
c_long)>;
#[repr(C)]
+#[derive(Copy, Clone)]
+#[allow(raw_pointer_derive)]
pub struct BIO_METHOD {
pub type_: c_int,
pub name: *const c_char,