aboutsummaryrefslogtreecommitdiff
path: root/src/x509/tests.rs
diff options
context:
space:
mode:
authorGleb Kozyrev <[email protected]>2015-01-22 18:03:19 +0200
committerGleb Kozyrev <[email protected]>2015-01-28 21:51:12 +0200
commit71f84202053e81581dc619ae9df1c37cfc0482e6 (patch)
treefaf581a7f8739ae16af648c1caf386e0085672c6 /src/x509/tests.rs
parentChange Hasher and HMAC APIs closer to std::hash model (diff)
downloadrust-openssl-71f84202053e81581dc619ae9df1c37cfc0482e6.tar.xz
rust-openssl-71f84202053e81581dc619ae9df1c37cfc0482e6.zip
Rename crypto::hash::HashType -> Type
s/HashType/Type/ to follow the current Rust style. Import Type as HashType in modules where the name might be ambiguous. [breaking change]
Diffstat (limited to 'src/x509/tests.rs')
-rw-r--r--src/x509/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509/tests.rs b/src/x509/tests.rs
index c9a655f2..4f24e70c 100644
--- a/src/x509/tests.rs
+++ b/src/x509/tests.rs
@@ -2,7 +2,7 @@ use serialize::hex::FromHex;
use std::old_io::{File, Open, Read};
use std::old_io::util::NullWriter;
-use crypto::hash::HashType::{SHA256};
+use crypto::hash::Type::{SHA256};
use x509::{X509, X509Generator};
use x509::KeyUsage::{DigitalSignature, KeyEncipherment};
use x509::ExtKeyUsage::{ClientAuth, ServerAuth};