Loading openssl-sys/src/object.rs +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ use *; extern "C" { pub fn OBJ_nid2ln(nid: c_int) -> *const c_char; pub fn OBJ_nid2sn(nid: c_int) -> *const c_char; pub fn OBJ_nid2obj(n: c_int) -> *mut ASN1_OBJECT; pub fn OBJ_obj2nid(o: *const ASN1_OBJECT) -> c_int; pub fn OBJ_obj2txt( buf: *mut c_char, Loading openssl-sys/src/rand.rs +2 −0 Original line number Diff line number Diff line Loading @@ -7,4 +7,6 @@ extern "C" { pub fn RAND_keep_random_devices_open(keep: c_int); pub fn RAND_status() -> c_int; pub fn RAND_add(buf: *const c_void, num: c_int, randomness: c_double); } openssl-sys/src/ssl.rs +7 −0 Original line number Diff line number Diff line Loading @@ -998,6 +998,9 @@ extern "C" { ); pub fn SSL_CTX_set_verify_depth(ctx: *mut SSL_CTX, depth: c_int); #[cfg(ossl111)] pub fn SSL_CTX_set_post_handshake_auth(ctx: *mut SSL_CTX, val: c_int); pub fn SSL_CTX_check_private_key(ctx: *const SSL_CTX) -> c_int; pub fn SSL_CTX_set_session_id_context( Loading Loading @@ -1345,6 +1348,10 @@ cfg_if! { } } extern "C" { pub fn COMP_get_type(meth: *const COMP_METHOD) -> i32; } extern "C" { #[cfg(ossl110)] pub fn SSL_CIPHER_get_cipher_nid(c: *const SSL_CIPHER) -> c_int; Loading openssl-sys/src/x509.rs +7 −0 Original line number Diff line number Diff line Loading @@ -581,3 +581,10 @@ cfg_if! { } } } extern "C" { pub fn X509_get_default_cert_file_env() -> *const c_char; pub fn X509_get_default_cert_file() -> *const c_char; pub fn X509_get_default_cert_dir_env() -> *const c_char; pub fn X509_get_default_cert_dir() -> *const c_char; } Loading
openssl-sys/src/object.rs +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ use *; extern "C" { pub fn OBJ_nid2ln(nid: c_int) -> *const c_char; pub fn OBJ_nid2sn(nid: c_int) -> *const c_char; pub fn OBJ_nid2obj(n: c_int) -> *mut ASN1_OBJECT; pub fn OBJ_obj2nid(o: *const ASN1_OBJECT) -> c_int; pub fn OBJ_obj2txt( buf: *mut c_char, Loading
openssl-sys/src/rand.rs +2 −0 Original line number Diff line number Diff line Loading @@ -7,4 +7,6 @@ extern "C" { pub fn RAND_keep_random_devices_open(keep: c_int); pub fn RAND_status() -> c_int; pub fn RAND_add(buf: *const c_void, num: c_int, randomness: c_double); }
openssl-sys/src/ssl.rs +7 −0 Original line number Diff line number Diff line Loading @@ -998,6 +998,9 @@ extern "C" { ); pub fn SSL_CTX_set_verify_depth(ctx: *mut SSL_CTX, depth: c_int); #[cfg(ossl111)] pub fn SSL_CTX_set_post_handshake_auth(ctx: *mut SSL_CTX, val: c_int); pub fn SSL_CTX_check_private_key(ctx: *const SSL_CTX) -> c_int; pub fn SSL_CTX_set_session_id_context( Loading Loading @@ -1345,6 +1348,10 @@ cfg_if! { } } extern "C" { pub fn COMP_get_type(meth: *const COMP_METHOD) -> i32; } extern "C" { #[cfg(ossl110)] pub fn SSL_CIPHER_get_cipher_nid(c: *const SSL_CIPHER) -> c_int; Loading
openssl-sys/src/x509.rs +7 −0 Original line number Diff line number Diff line Loading @@ -581,3 +581,10 @@ cfg_if! { } } } extern "C" { pub fn X509_get_default_cert_file_env() -> *const c_char; pub fn X509_get_default_cert_file() -> *const c_char; pub fn X509_get_default_cert_dir_env() -> *const c_char; pub fn X509_get_default_cert_dir() -> *const c_char; }