aboutsummaryrefslogtreecommitdiff
path: root/src/x509/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/x509/tests.rs')
-rw-r--r--src/x509/tests.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/x509/tests.rs b/src/x509/tests.rs
index e4f7b142..49e399d9 100644
--- a/src/x509/tests.rs
+++ b/src/x509/tests.rs
@@ -2,8 +2,10 @@ use serialize::hex::FromHex;
use std::io::{File, Open, Read};
use std::io::util::NullWriter;
-use crypto::hash::{SHA256};
-use x509::{X509, X509Generator, DigitalSignature, KeyEncipherment, ClientAuth, ServerAuth};
+use crypto::hash::HashType::{SHA256};
+use x509::{X509, X509Generator};
+use x509::KeyUsage::{DigitalSignature, KeyEncipherment};
+use x509::ExtKeyUsage::{ClientAuth, ServerAuth};
#[test]
fn test_cert_gen() {