Lines Matching refs:untrusted
19 static int ts_verify_cert(X509_STORE *store, STACK_OF(X509) *untrusted,
93 STACK_OF(X509) *untrusted = NULL;
130 untrusted = sk_X509_new_reserve(NULL, sk_X509_num(certs)
132 if (untrusted == NULL
133 || !X509_add_certs(untrusted, certs, 0)
134 || !X509_add_certs(untrusted, token->d.sign->cert, 0))
136 if (!ts_verify_cert(store, untrusted, signer, &chain))
160 sk_X509_free(untrusted);
171 static int ts_verify_cert(X509_STORE *store, STACK_OF(X509) *untrusted,
184 if (!X509_STORE_CTX_init(cert_ctx, store, signer, untrusted))