diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-30 19:46:00 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-08-30 19:46:00 +0200 |
commit | 0520b28ac2d1918db4bd19d551448b8471cbb65a (patch) | |
tree | 36d17f524beb400ae89069be354738c22d67d00d /src/main.rs | |
parent | Join with worker threads on device drop (diff) | |
download | wireguard-rs-0520b28ac2d1918db4bd19d551448b8471cbb65a.tar.xz wireguard-rs-0520b28ac2d1918db4bd19d551448b8471cbb65a.zip |
Move to RustCrypto AEAD crate for handshake
Diffstat (limited to '')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index fc1a26a..600e144 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,6 @@ use std::net::SocketAddr; use std::sync::Arc; use std::time::Duration; -use sodiumoxide; use types::{Bind, KeyPair}; struct Test {} @@ -71,8 +70,6 @@ struct PeerTimer { fn main() { let runner = Runner::new(Duration::from_millis(100), 1000, 1024); - // choose optimal crypto implementations for platform - sodiumoxide::init().unwrap(); { let router = router::Device::new( 4, |