sys: add SSL_get_peer_certificate()

This commit is contained in:
Cody P Schafer 2014-11-24 15:40:48 -05:00
parent 9951cb2bda
commit c6696eb029
1 changed files with 1 additions and 0 deletions

View File

@ -415,6 +415,7 @@ extern "C" {
pub fn SSL_get_ex_data_X509_STORE_CTX_idx() -> c_int;
pub fn SSL_get_SSL_CTX(ssl: *mut SSL) -> *mut SSL_CTX;
pub fn SSL_get_current_compression(ssl: *mut SSL) -> *const COMP_METHOD;
pub fn SSL_get_peer_certificate(ssl: *mut SSL) -> *mut X509;
pub fn SSL_COMP_get_name(comp: *const COMP_METHOD) -> *const c_char;