From 8ec1e20fa37eeb9d9f6e989a0c02865d63ce13c7 Mon Sep 17 00:00:00 2001 From: Andreas Fackler Date: Fri, 20 Mar 2020 10:34:17 +0100 Subject: [PATCH] Make SecretKeySet cloneable. Rust 1.42.0. (#101) --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 8823a74..c9f708a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -625,6 +625,7 @@ impl PublicKeySet { } /// A secret key and an associated set of secret key shares. +#[derive(Clone, PartialEq, Eq)] pub struct SecretKeySet { /// The coefficients of a polynomial whose value at `0` is the "master key", and value at /// `i + 1` is key share number `i`.