diff options
| author | Steven Fackler <[email protected]> | 2015-12-09 23:30:29 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2015-12-09 23:30:29 -0800 |
| commit | 91f8c542f75ff81ce7f3f12f26c469127ff0ab18 (patch) | |
| tree | 29e318fcd0031daeb420609ac0bcf1cc069f391e /openssl-sys/src | |
| parent | Implement read and write (diff) | |
| download | rust-openssl-91f8c542f75ff81ce7f3f12f26c469127ff0ab18.tar.xz rust-openssl-91f8c542f75ff81ce7f3f12f26c469127ff0ab18.zip | |
Replace SslStream implementation!
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 2 |
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, |