pub unsafe extern "C" fn wolfSSL_get_chain_length(
    chain: *mut WOLFSSL_X509_CHAIN,
    idx: c_int
) -> c_int