[][src]Function mesalink::libssl::ssl::mesalink_SSL_CTX_use_certificate

#[no_mangle]
pub extern "C" fn mesalink_SSL_CTX_use_certificate(
    ctx_ptr: *mut MESALINK_CTX_ARC,
    x509_ptr: *mut MESALINK_X509
) -> c_int

SSL_CTX_use_certificate loads the certificate x into ctx. The rest of the certificates needed to form the complete certificate chain can be specified using the SSL_CTX_add_extra_chain_cert function.