diff --git a/src/file.rs b/src/file.rs index 50fe523..086da61 100644 --- a/src/file.rs +++ b/src/file.rs @@ -30,7 +30,7 @@ pub fn read_tiny_encrypt_meta(r: &mut R) -> XResult { let is_normal_tiny_enc = tag == util::TINY_ENC_MAGIC_TAG; let is_compressed_tiny_enc = tag == util::TINY_ENC_COMPRESSED_MAGIC_TAG; if !is_normal_tiny_enc && !is_compressed_tiny_enc { - return simple_error!("Tag is not 0x01, but is: 0x{:x}", tag); + return simple_error!("Tag is not 0x01 or 0x02, but is: 0x{:x}", tag); } let mut length_buff = [0_u8; 4];