aboutsummaryrefslogtreecommitdiff
path: root/src/ssl
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/ssl
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/ssl')
-rw-r--r--src/ssl/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssl/tests.rs b/src/ssl/tests.rs
index 77a3118d..73f479bf 100644
--- a/src/ssl/tests.rs
+++ b/src/ssl/tests.rs
@@ -3,7 +3,7 @@ use std::old_io::net::tcp::TcpStream;
use std::old_io::{Writer};
use std::thread::Thread;
-use crypto::hash::HashType::{SHA256};
+use crypto::hash::Type::{SHA256};
use ssl::SslMethod::Sslv23;
use ssl::{SslContext, SslStream, VerifyCallback};
use ssl::SslVerifyMode::SslVerifyPeer;