We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 949949a commit 8ae20b5Copy full SHA for 8ae20b5
1 file changed
src/rdrand.rs
@@ -49,7 +49,7 @@ fn is_rdrand_supported() -> bool {
49
}
50
51
pub fn getrandom_inner(dest: &mut [u8]) -> Result<(), Error> {
52
- if is_rdrand_supported() {
+ if !is_rdrand_supported() {
53
return Err(Error::UNAVAILABLE);
54
55
0 commit comments