aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src/rand.rs
blob: 8ee46fbbccfc217b8bd22c0a6b2ab1b0eb930c2d (plain) (blame)
1
2
3
4
5
6
use libc::*;

extern "C" {
    pub fn RAND_bytes(buf: *mut u8, num: c_int) -> c_int;
    pub fn RAND_status() -> c_int;
}