summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ad87a3d)
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
return SSL_CTX_load_verify_locations(ctx, CAfile, CApath);
}
return SSL_CTX_load_verify_locations(ctx, CAfile, CApath);
}
int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path)
{
if (path == NULL) {
int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path)
{
if (path == NULL) {
return SSL_CTX_set_ctlog_list_file(ctx, path);
}
return SSL_CTX_set_ctlog_list_file(ctx, path);
}
int dump_cert_text(BIO *out, X509 *x)
{
char *p;
int dump_cert_text(BIO *out, X509 *x)
{
char *p;
const char *CApath, int noCAfile,
int noCApath);
const char *CApath, int noCAfile,
int noCApath);
/*
* Sets the file to load the Certificate Transparency log list from.
* If path is NULL, loads from the default file path.
/*
* Sets the file to load the Certificate Transparency log list from.
* If path is NULL, loads from the default file path.
*/
__owur int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
*/
__owur int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
# ifdef OPENSSL_NO_ENGINE
# define setup_engine(engine, debug) NULL
# else
# ifdef OPENSSL_NO_ENGINE
# define setup_engine(engine, debug) NULL
# else
unsigned char *exportedkeymat;
#ifndef OPENSSL_NO_CT
const STACK_OF(SCT) *scts;
unsigned char *exportedkeymat;
#ifndef OPENSSL_NO_CT
const STACK_OF(SCT) *scts;
const SSL_CTX *ctx = SSL_get_SSL_CTX(s);
const SSL_CTX *ctx = SSL_get_SSL_CTX(s);
if (full) {
int got_a_chain = 0;
if (full) {
int got_a_chain = 0;
if (!SSL_CTX_set_default_ctlog_list_file(s_ctx) ||
!SSL_CTX_set_default_ctlog_list_file(s_ctx2) ||
!SSL_CTX_set_default_ctlog_list_file(c_ctx)) {
ERR_print_errors(bio_err);
}
if (!SSL_CTX_set_default_ctlog_list_file(s_ctx) ||
!SSL_CTX_set_default_ctlog_list_file(s_ctx2) ||
!SSL_CTX_set_default_ctlog_list_file(c_ctx)) {
ERR_print_errors(bio_err);
}
if (client_auth) {
printf("client authentication\n");
if (client_auth) {
printf("client authentication\n");