aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ballard <[email protected]>2013-12-08 23:45:52 -0800
committerKevin Ballard <[email protected]>2013-12-08 23:45:52 -0800
commitc9793a907fdc5fc2dff5f7c986ca04259cf06575 (patch)
treeaa530b55ddbff2c0f582d6a93e23632097a9df34
parentUpdate for latest master (0.9-pre b5bab85) (diff)
downloadrust-openssl-c9793a907fdc5fc2dff5f7c986ca04259cf06575.tar.xz
rust-openssl-c9793a907fdc5fc2dff5f7c986ca04259cf06575.zip
Delete unused main() function
The new dead_code lint warns on this.
-rw-r--r--hmac.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/hmac.rs b/hmac.rs
index fc48b33d..c7cad6a2 100644
--- a/hmac.rs
+++ b/hmac.rs
@@ -85,11 +85,3 @@ impl HMAC {
}
}
}
-
-fn main() {
- let mut h = HMAC(SHA512, ~[00u8]);
-
- h.update([00u8]);
-
- println!("{:?}", h.final())
-}