diff options
| author | James Hurst <[email protected]> | 2014-11-17 19:16:51 -0500 |
|---|---|---|
| committer | James Hurst <[email protected]> | 2014-11-17 19:16:51 -0500 |
| commit | f02d8c22ecf0138535ce93731c8b4653e4d09e86 (patch) | |
| tree | 378ca1f9fc28406966ed5bb059ea59090005e275 /src/x509/tests.rs | |
| parent | Impl Error for SslError (diff) | |
| download | rust-openssl-f02d8c22ecf0138535ce93731c8b4653e4d09e86.tar.xz rust-openssl-f02d8c22ecf0138535ce93731c8b4653e4d09e86.zip | |
Fixed compilation errors related to namedspaced enums
Diffstat (limited to 'src/x509/tests.rs')
| -rw-r--r-- | src/x509/tests.rs | 6 |
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() { |