From 267762164a219245f0cbf920a03f78ef38204b21 Mon Sep 17 00:00:00 2001 From: Nick Santana Date: Wed, 13 Sep 2023 13:54:12 -0700 Subject: [PATCH] Derive `Eq` for `TcbError` `TcbError` now derives `Eq`. It already had `PartialEq` and the simple types of the error are total equality types. --- dcap/types/src/tcb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcap/types/src/tcb.rs b/dcap/types/src/tcb.rs index 23c89b58..61843d8c 100644 --- a/dcap/types/src/tcb.rs +++ b/dcap/types/src/tcb.rs @@ -53,7 +53,7 @@ const PCE_SVN_OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("1.2.840.1137 const FMSPC_OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("1.2.840.113741.1.13.1.4"); /// Error parsing TCB info from PCK leaf certificate -#[derive(Debug, PartialEq, displaydoc::Display, Clone, Serialize, Deserialize)] +#[derive(Debug, PartialEq, Eq, displaydoc::Display, Clone, Serialize, Deserialize)] pub enum Error { /// Missing the SGX OID extension: {0} MissingSgxExtension(String),