[][src]Function tabbyssl::libssl::ssl::tabby_SSL_CTX_use_certificate

#[no_mangle]pub extern "C" fn tabby_SSL_CTX_use_certificate(
    ctx_ptr: *mut TABBY_CTX_ARC,
    x509_ptr: *mut TABBY_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.