From 4a028f5faf220812f9e4138c0219a5fd5c8018dc Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Wed, 17 Feb 2016 02:49:13 +0300 Subject: [PATCH] cleanup asserts --- util/src/keys/store.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/util/src/keys/store.rs b/util/src/keys/store.rs index c72a0a7f3..b9ee57694 100644 --- a/util/src/keys/store.rs +++ b/util/src/keys/store.rs @@ -104,8 +104,6 @@ impl EncryptedHashMap for SecretStore { let decrypted_bytes = match key_file.crypto.kdf { KeyFileKdf::Pbkdf2(ref params) => { let (derived_left_bits, derived_right_bits) = derive_key_iterations(password, ¶ms.salt, params.c); - //assert_eq!(derive_mac(&derived_right_bits, &key_file.crypto.cipher_text).to_hex(), ""); - assert_eq!(&key_file.crypto.cipher_text.to_hex(), "5318b4d5bcd28de64ee5559e671353e16f075ecae9f99c7a79a38af5f869aa46"); if derive_mac(&derived_right_bits, &key_file.crypto.cipher_text) .sha3() != key_file.crypto.mac { return Err(EncryptedHashMapError::InvalidPassword); }