summaryrefslogtreecommitdiffstats
path: root/src/handshake
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-31 20:25:16 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-31 20:25:16 +0200
commit46d76b80c6b1b3b1c549b770b1a5ba791b49da8a (patch)
tree0c880785943dd00e66cff6d8cd7560d42dc68c24 /src/handshake
parentExplicitly clear t0 in KDF macro (diff)
downloadwireguard-rs-46d76b80c6b1b3b1c549b770b1a5ba791b49da8a.tar.xz
wireguard-rs-46d76b80c6b1b3b1c549b770b1a5ba791b49da8a.zip
Reduce number of type parameters in router
Merge multiple related type parameters into trait, allowing for easier refactoring and better maintainability.
Diffstat (limited to 'src/handshake')
-rw-r--r--src/handshake/noise.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/handshake/noise.rs b/src/handshake/noise.rs
index 1e7c50d..9fc0eb4 100644
--- a/src/handshake/noise.rs
+++ b/src/handshake/noise.rs
@@ -1,5 +1,3 @@
-#![allow(dead_code)]
-
// DH
use x25519_dalek::PublicKey;
use x25519_dalek::StaticSecret;