We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf2c2d commit 7f8a970Copy full SHA for 7f8a970
openssl-sys/src/lib.rs
@@ -102,7 +102,10 @@ pub fn init() {
102
static INIT: Once = Once::new();
103
104
INIT.call_once(|| unsafe {
105
- OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS, ptr::null_mut());
+ OPENSSL_init_ssl(
106
+ OPENSSL_INIT_LOAD_SSL_STRINGS | OPENSSL_INIT_NO_ATEXIT,
107
+ ptr::null_mut(),
108
+ );
109
})
110
}
111
openssl-sys/src/ssl.rs
@@ -1398,6 +1398,8 @@ cfg_if! {
1398
1399
#[cfg(ossl110)]
1400
pub const OPENSSL_INIT_LOAD_SSL_STRINGS: u64 = 0x00200000;
1401
+#[cfg(ossl110)]
1402
+pub const OPENSSL_INIT_NO_ATEXIT: u64 = 0x00080000;
1403
1404
extern "C" {
1405
0 commit comments