diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-16 13:22:44 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-16 13:22:44 -0400 |
commit | e6aa2d526e84e4ea19e1841b56be8cf58b0c6cfb (patch) | |
tree | eba9dafe89c81004076b3da0367481b7ec1ff375 /src/rust/crypto/rand/rng.rs | |
parent | 8184f45ad94b5305c519f427a503d14ecb2f12dd (diff) | |
download | tor-e6aa2d526e84e4ea19e1841b56be8cf58b0c6cfb.tar.gz tor-e6aa2d526e84e4ea19e1841b56be8cf58b0c6cfb.zip |
Changes to make the rust crypto::mod tests compile
The digest tests don't link yet, though.
Diffstat (limited to 'src/rust/crypto/rand/rng.rs')
-rw-r--r-- | src/rust/crypto/rand/rng.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rust/crypto/rand/rng.rs b/src/rust/crypto/rand/rng.rs index d5fae8a32e..07a0a7bdc7 100644 --- a/src/rust/crypto/rand/rng.rs +++ b/src/rust/crypto/rand/rng.rs @@ -130,8 +130,8 @@ mod internal { #[cfg(test)] mod internal { // It doesn't matter if we pretend ChaCha is a CSPRNG in tests. - pub use rand::ChaChaRng as TorRng; - pub use rand::ChaChaRng as TorStrongestRng; + pub use rand_crate::ChaChaRng as TorRng; + pub use rand_crate::ChaChaRng as TorStrongestRng; } // Finally, expose the public functionality of whichever appropriate internal |