Expose ssl::init
This commit is contained in:
parent
87b8d8e318
commit
c7eded31a7
|
|
@ -30,7 +30,9 @@ mod tests;
|
||||||
|
|
||||||
static mut VERIFY_IDX: c_int = -1;
|
static mut VERIFY_IDX: c_int = -1;
|
||||||
|
|
||||||
fn init() {
|
/// Manually initialize SSL.
|
||||||
|
/// It is optional to call this function and safe to do so more than once.
|
||||||
|
pub fn init() {
|
||||||
static mut INIT: Once = ONCE_INIT;
|
static mut INIT: Once = ONCE_INIT;
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue