aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2018-05-15 18:33:17 -0700
committerJake McGinty <me@jake.su>2018-05-15 18:33:17 -0700
commit6e80f8d9f6aa6ff44979b7c61705564f33886088 (patch)
tree66e3c76cfaa47d988eab4c61d468c0d1c5d6ff75 /src
parentglobal: fix clippies and enable warnings in IDE (diff)
downloadwireguard-rs-6e80f8d9f6aa6ff44979b7c61705564f33886088.tar.xz
wireguard-rs-6e80f8d9f6aa6ff44979b7c61705564f33886088.zip
global: upgrade snow, x25519-dalek and related deps
Diffstat (limited to 'src')
-rw-r--r--src/cookie.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cookie.rs b/src/cookie.rs
index f6063ee..cbd3b89 100644
--- a/src/cookie.rs
+++ b/src/cookie.rs
@@ -5,7 +5,7 @@ use xchacha20poly1305;
use consts::COOKIE_REFRESH_TIME;
use message::CookieReply;
use failure::{Error, err_msg};
-use rand::{self, Rng};
+use rand::{self, RngCore};
use subtle;
use std::time::Instant;