summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-30 19:46:00 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-30 19:46:00 +0200
commit0520b28ac2d1918db4bd19d551448b8471cbb65a (patch)
tree36d17f524beb400ae89069be354738c22d67d00d /src/main.rs
parentJoin with worker threads on device drop (diff)
downloadwireguard-rs-0520b28ac2d1918db4bd19d551448b8471cbb65a.tar.xz
wireguard-rs-0520b28ac2d1918db4bd19d551448b8471cbb65a.zip
Move to RustCrypto AEAD crate for handshake
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
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,