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; }