Commit 44ed665f authored by manuels's avatar manuels Committed by GitHub
Browse files

Add RAND_status()

RAND_status() returns 1 if the PRNG has been seeded with enough data, 0 otherwise.
parent 4cc55b65
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -873,6 +873,7 @@ extern "C" {
                             out: *mut u8) -> c_int;

    pub fn RAND_bytes(buf: *mut u8, num: c_int) -> c_int;
    pub fn RAND_status() -> c_int;

    pub fn RSA_new() -> *mut RSA;
    pub fn RSA_free(rsa: *mut RSA);