Lines Matching defs:chain
152 STACK_OF(X509) *chain, int build_chain)
154 int chflags = chain ? SSL_BUILD_CHAIN_FLAG_CHECK : 0;
178 if (chain && !SSL_CTX_set1_chain(ctx, chain)) {
179 BIO_printf(bio_err, "error setting certificate chain\n");
184 BIO_printf(bio_err, "error building certificate chain\n");
866 STACK_OF(X509) *chain;
900 * Very basic selection callback: just use any certificate chain reported as
934 rv = SSL_check_chain(ssl, exc->cert, exc->key, exc->chain);
935 BIO_printf(bio_err, "Checking cert chain %d:\nSubject: ", i);
947 * building chains on each connection better to cache the chain
953 } else if (exc->chain != NULL) {
954 if (!SSL_set1_chain(ssl, exc->chain))
998 sk_X509_pop_free(exc->chain, X509_free);
1036 if (!load_certs(exc->chainfile, 0, &exc->chain, NULL, "server chain"))
1367 {"Certificate chain EE key", SSL_SECOP_EE_KEY},
1368 {"Certificate chain CA key", SSL_SECOP_CA_KEY},
1371 {"Certificate chain CA digest", SSL_SECOP_CA_MD},
1372 {"Peer chain CA digest", SSL_SECOP_PEER_CA_MD},