Commit 322c7845 authored by Steven Fackler's avatar Steven Fackler
Browse files

Merge pull request #247 from panicbit/pub-init

Expose ssl::init
parents 87b8d8e3 c7eded31
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -30,7 +30,9 @@ mod tests;

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;

    unsafe {