Add RAND_status()
RAND_status() returns 1 if the PRNG has been seeded with enough data, 0 otherwise.
This commit is contained in:
parent
4cc55b65e0
commit
44ed665f02
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue