diff options
Diffstat (limited to 'src/lib/libtls/tls.c')
-rw-r--r-- | src/lib/libtls/tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls.c b/src/lib/libtls/tls.c index 4362c60c80..bf1d9da81e 100644 --- a/src/lib/libtls/tls.c +++ b/src/lib/libtls/tls.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls.c,v 1.81 2018/11/06 20:34:54 jsing Exp $ */ | 1 | /* $OpenBSD: tls.c,v 1.82 2018/11/29 14:24:23 tedu Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -501,7 +501,7 @@ tls_configure_ssl_verify(struct tls *ctx, SSL_CTX *ssl_ctx, int verify) | |||
501 | 501 | ||
502 | /* If no CA has been specified, attempt to load the default. */ | 502 | /* If no CA has been specified, attempt to load the default. */ |
503 | if (ctx->config->ca_mem == NULL && ctx->config->ca_path == NULL) { | 503 | if (ctx->config->ca_mem == NULL && ctx->config->ca_path == NULL) { |
504 | if (tls_config_load_file(&ctx->error, "CA", TLS_CA_CERT_FILE, | 504 | if (tls_config_load_file(&ctx->error, "CA", tls_default_ca_cert_file(), |
505 | &ca_mem, &ca_len) != 0) | 505 | &ca_mem, &ca_len) != 0) |
506 | goto err; | 506 | goto err; |
507 | ca_free = ca_mem; | 507 | ca_free = ca_mem; |