summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mod.rs
diff options
context:
space:
mode:
authorKai Michaelis <kai@sequoia-pgp.org>2019-02-13 14:26:12 +0100
committerKai Michaelis <kai@sequoia-pgp.org>2019-02-13 19:23:42 +0100
commit91bda43cc807917a585d7cf33e708e37a726433c (patch)
tree67d8fc3077aa605ac53917ad292d1d4bb6bbdf0c /openpgp/src/crypto/mod.rs
parentca912da838bca40a2e008264a2c8c339a62df483 (diff)
openpgp: use nettle 4.0
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r--openpgp/src/crypto/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs
index 052be2d4..c0f514dd 100644
--- a/openpgp/src/crypto/mod.rs
+++ b/openpgp/src/crypto/mod.rs
@@ -6,8 +6,7 @@ use std::fmt;
use std::cmp::Ordering;
use memsec;
-use nettle;
-use nettle::random::Yarrow;
+use nettle::{self, Random, Yarrow};
use constants::HashAlgorithm;
use Result;