Lines Matching defs:leaf
472 X509 *leaf = x509_verify_chain_leaf(chain);
490 /* Verify the leaf certificate and store any resulting error. */
491 if (!x509_verify_cert_valid(ctx, leaf, NULL))
493 if (!x509_verify_cert_hostname(ctx, leaf, name))
1094 x509_verify(struct x509_verify_ctx *ctx, X509 *leaf, char *name)
1105 if (leaf != NULL || name != NULL) {
1109 leaf = ctx->xsc->cert;
1126 if (!X509_up_ref(leaf)) {
1130 if (!sk_X509_push(ctx->xsc->chain, leaf)) {
1131 X509_free(leaf);
1136 ctx->xsc->current_cert = leaf;
1145 * Add the leaf to the chain and try to build chains from it.
1147 * anything about the leaf, This is intentional, so that we
1149 * with the leaf.
1151 if (!x509_verify_chain_append(current_chain, leaf, &ctx->error)) {
1157 if (x509_verify_ctx_cert_is_root(ctx, leaf, full_chain)) {
1164 x509_verify_build_chains(ctx, leaf, current_chain,
1250 * did not we should have just the leaf on the xsc.