summaryrefslogtreecommitdiffstats
path: root/src/dh.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dh.rs')
-rw-r--r--src/dh.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dh.rs b/src/dh.rs
index 0db0bb2..5e368d9 100644
--- a/src/dh.rs
+++ b/src/dh.rs
@@ -1,12 +1,10 @@
use num_bigint::RandBigInt;
-use serde_derive::{Deserialize, Serialize};
-#[derive(Debug, Clone, Serialize, Deserialize)]
+#[derive(Debug)]
pub struct DHKeyPair {
pub p: num_bigint::BigUint,
pub g: num_bigint::BigUint,
pub pubkey: num_bigint::BigUint,
- #[serde(skip)]
privkey: Option<num_bigint::BigUint>,
}