aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2014-04-06 21:15:15 -0700
committerSteven Fackler <[email protected]>2014-04-06 21:15:15 -0700
commita145df011cc7ed7fbff37227192427a11c6d3923 (patch)
treea94c5e7724c8adff6a83d05584c4a3d3f0d93df4 /crypto
parentRemove use of {:?} (diff)
downloadrust-openssl-a145df011cc7ed7fbff37227192427a11c6d3923.tar.xz
rust-openssl-a145df011cc7ed7fbff37227192427a11c6d3923.zip
Update for libc split
Diffstat (limited to 'crypto')
-rw-r--r--crypto/hash.rs4
-rw-r--r--crypto/hmac.rs2
-rw-r--r--crypto/pkcs5.rs2
-rw-r--r--crypto/pkey.rs4
-rw-r--r--crypto/rand.rs2
-rw-r--r--crypto/symm.rs4
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)]