Add RAND_status()

RAND_status() returns 1 if the PRNG has been seeded with enough data, 0 otherwise.
This commit is contained in:
manuels 2016-10-01 13:42:13 +02:00 committed by GitHub
parent 4cc55b65e0
commit 44ed665f02
1 changed files with 1 additions and 0 deletions

View File

@ -873,6 +873,7 @@ extern "C" {
out: *mut u8) -> c_int; out: *mut u8) -> c_int;
pub fn RAND_bytes(buf: *mut u8, num: c_int) -> 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_new() -> *mut RSA;
pub fn RSA_free(rsa: *mut RSA); pub fn RSA_free(rsa: *mut RSA);