aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/hmac.rs
diff options
context:
space:
mode:
authorJames Hurst <[email protected]>2014-11-17 19:16:51 -0500
committerJames Hurst <[email protected]>2014-11-17 19:16:51 -0500
commitf02d8c22ecf0138535ce93731c8b4653e4d09e86 (patch)
tree378ca1f9fc28406966ed5bb059ea59090005e275 /src/crypto/hmac.rs
parentImpl Error for SslError (diff)
downloadrust-openssl-f02d8c22ecf0138535ce93731c8b4653e4d09e86.tar.xz
rust-openssl-f02d8c22ecf0138535ce93731c8b4653e4d09e86.zip
Fixed compilation errors related to namedspaced enums
Diffstat (limited to 'src/crypto/hmac.rs')
-rw-r--r--src/crypto/hmac.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/hmac.rs b/src/crypto/hmac.rs
index ef2a0414..a3d92236 100644
--- a/src/crypto/hmac.rs
+++ b/src/crypto/hmac.rs
@@ -64,7 +64,7 @@ impl HMAC {
#[cfg(test)]
mod tests {
use serialize::hex::FromHex;
- use crypto::hash::{HashType, MD5, SHA1, SHA224, SHA256, SHA384, SHA512};
+ use crypto::hash::HashType::{mod, MD5, SHA1, SHA224, SHA256, SHA384, SHA512};
use super::HMAC;
#[test]