From 2f032b5c5448be40feda466bb457821ef814f959 Mon Sep 17 00:00:00 2001 From: Valentyn Faychuk Date: Mon, 2 Dec 2024 01:51:59 +0200 Subject: [PATCH] cloneable config Signed-off-by: Valentyn Faychuk --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index f23ad87..be5dd87 100644 --- a/src/config.rs +++ b/src/config.rs @@ -8,7 +8,7 @@ use rustls::{ClientConfig, ServerConfig}; #[cfg(feature = "occlum")] pub type Measurement = [u8; 32]; -#[derive(Default, Debug)] +#[derive(Default, Debug, Clone)] pub struct RaTlsConfig { #[cfg(feature = "occlum")] pub(crate) allowed_instances: Vec,