summaryrefslogtreecommitdiffstats
path: root/openpgp/src/autocrypt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/autocrypt.rs')
-rw-r--r--openpgp/src/autocrypt.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/autocrypt.rs b/openpgp/src/autocrypt.rs
index e648d33c..07cac5b9 100644
--- a/openpgp/src/autocrypt.rs
+++ b/openpgp/src/autocrypt.rs
@@ -331,7 +331,7 @@ impl AutocryptSetupMessage {
// Generates a new passcode in "numeric9x4" format.
fn passcode_gen() -> Password {
- use nettle::Yarrow;
+ use nettle::{Random, Yarrow};
// Generate a random passcode.