From f47bc82b199679a10ea5616d48117d66c86379ff Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Tue, 2 Jul 2024 18:18:41 +0300
Subject: [PATCH] feat: Derive `Eq` and `PartialEq` to `Signature`
Signed-off-by: Awiteb
---
crates/oxidetalis_core/src/types/cipher.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crates/oxidetalis_core/src/types/cipher.rs b/crates/oxidetalis_core/src/types/cipher.rs
index e7285df..9d4ad76 100644
--- a/crates/oxidetalis_core/src/types/cipher.rs
+++ b/crates/oxidetalis_core/src/types/cipher.rs
@@ -45,7 +45,7 @@ pub struct PublicKey([u8; 33]);
pub struct PrivateKey([u8; 32]);
/// OTMP signature
-#[derive(Clone, Copy, Debug)]
+#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct Signature {
hmac_output: [u8; 32],
timestamp: [u8; 8],