cloneable config

Signed-off-by: Valentyn Faychuk <valy@detee.ltd>
This commit is contained in:
Valentyn Faychuk 2024-12-02 01:51:59 +02:00
parent a47753a8e0
commit 2f032b5c54
Signed by: valy
GPG Key ID: F1AB995E20FEADC5

@ -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<InstanceMeasurement>,