diff options
| author | Steven Fackler <[email protected]> | 2014-04-06 21:15:15 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-04-06 21:15:15 -0700 |
| commit | a145df011cc7ed7fbff37227192427a11c6d3923 (patch) | |
| tree | a94c5e7724c8adff6a83d05584c4a3d3f0d93df4 /crypto | |
| parent | Remove use of {:?} (diff) | |
| download | rust-openssl-a145df011cc7ed7fbff37227192427a11c6d3923.tar.xz rust-openssl-a145df011cc7ed7fbff37227192427a11c6d3923.zip | |
Update for libc split
Diffstat (limited to 'crypto')
| -rw-r--r-- | crypto/hash.rs | 4 | ||||
| -rw-r--r-- | crypto/hmac.rs | 2 | ||||
| -rw-r--r-- | crypto/pkcs5.rs | 2 | ||||
| -rw-r--r-- | crypto/pkey.rs | 4 | ||||
| -rw-r--r-- | crypto/rand.rs | 2 | ||||
| -rw-r--r-- | crypto/symm.rs | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/crypto/hash.rs b/crypto/hash.rs index 60a98e98..ed617be6 100644 --- a/crypto/hash.rs +++ b/crypto/hash.rs @@ -1,5 +1,5 @@ -use std::libc::c_uint; -use std::libc; +use libc; +use libc::c_uint; use std::ptr; use std::slice; diff --git a/crypto/hmac.rs b/crypto/hmac.rs index 17993bfe..b66180fc 100644 --- a/crypto/hmac.rs +++ b/crypto/hmac.rs @@ -14,7 +14,7 @@ * limitations under the License. */ -use std::libc::{c_uchar, c_int, c_uint}; +use libc::{c_uchar, c_int, c_uint}; use std::ptr; use std::slice; use crypto::hash; diff --git a/crypto/pkcs5.rs b/crypto/pkcs5.rs index d50666a1..2d1bfd34 100644 --- a/crypto/pkcs5.rs +++ b/crypto/pkcs5.rs @@ -1,4 +1,4 @@ -use std::libc::c_int; +use libc::c_int; use std::slice; #[link(name = "crypto")] diff --git a/crypto/pkey.rs b/crypto/pkey.rs index abe764dd..0058e6d0 100644 --- a/crypto/pkey.rs +++ b/crypto/pkey.rs @@ -1,6 +1,6 @@ use std::cast; -use std::libc::{c_char, c_int, c_uint}; -use std::libc; +use libc::{c_char, c_int, c_uint}; +use libc; use std::ptr; use std::slice; use crypto::hash::{HashType, MD5, SHA1, SHA224, SHA256, SHA384, SHA512}; diff --git a/crypto/rand.rs b/crypto/rand.rs index 9d1744a2..2ae001ef 100644 --- a/crypto/rand.rs +++ b/crypto/rand.rs @@ -1,4 +1,4 @@ -use std::libc::c_int; +use libc::c_int; use std::slice; #[link(name = "crypto")] diff --git a/crypto/symm.rs b/crypto/symm.rs index 008f777a..d648d7c4 100644 --- a/crypto/symm.rs +++ b/crypto/symm.rs @@ -1,5 +1,5 @@ -use std::libc::{c_int, c_uint}; -use std::libc; +use libc::{c_int, c_uint}; +use libc; use std::slice; #[allow(non_camel_case_types)] |