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