get_cert_chain
static int get_cert_chain(X509 *cert, X509_STORE *store,
vret = get_cert_chain(ee_cert_tmp, store, untrusted_certs, &chain2);