diff options
| author | Steven Fackler <[email protected]> | 2014-12-11 11:53:25 -0500 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-12-11 11:53:25 -0500 |
| commit | f22cdfb5945d175c55a3dcaedfce075b70e18e45 (patch) | |
| tree | 57b5e5c37c607769671fbbb56dac66b5a58c3856 /openssl-sys | |
| parent | Merge pull request #117 from Ummon/master (diff) | |
| parent | Update to nightly: explicit Copy trait (diff) | |
| download | rust-openssl-f22cdfb5945d175c55a3dcaedfce075b70e18e45.tar.xz rust-openssl-f22cdfb5945d175c55a3dcaedfce075b70e18e45.zip | |
Merge pull request #118 from vhbit/oibit-fix
Update to nightly: explicit Copy trait
Diffstat (limited to 'openssl-sys')
| -rw-r--r-- | openssl-sys/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 1faf749e..8550ce33 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -39,6 +39,7 @@ pub type X509_NAME_ENTRY = c_void; pub type X509_REQ = c_void; pub type X509_STORE_CTX = c_void; +#[allow(missing_copy_implementations)] #[repr(C)] pub struct EVP_MD_CTX { digest: *mut EVP_MD, @@ -49,6 +50,7 @@ pub struct EVP_MD_CTX { update: *mut c_void } +#[allow(missing_copy_implementations)] #[repr(C)] pub struct HMAC_CTX { md: *mut EVP_MD, @@ -59,6 +61,7 @@ pub struct HMAC_CTX { key: [c_uchar, ..128] } +#[allow(missing_copy_implementations)] #[repr(C)] pub struct X509V3_CTX { flags: c_int, @@ -72,6 +75,7 @@ pub struct X509V3_CTX { // Maybe more here } +#[allow(missing_copy_implementations)] #[repr(C)] pub struct BIGNUM { pub d: *mut c_void, |