summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/backend/rust.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/crypto/backend/rust.rs')
-rw-r--r--openpgp/src/crypto/backend/rust.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/crypto/backend/rust.rs b/openpgp/src/crypto/backend/rust.rs
index dc4773ed..1edfa1a9 100644
--- a/openpgp/src/crypto/backend/rust.rs
+++ b/openpgp/src/crypto/backend/rust.rs
@@ -17,8 +17,8 @@ pub fn backend() -> String {
/// Fills the given buffer with random data.
pub fn random(buf: &mut [u8]) {
- use rand07::rngs::OsRng;
- use rand07::RngCore;
+ use rand::rngs::OsRng;
+ use rand::RngCore;
OsRng.fill_bytes(buf)
}