diff options
Diffstat (limited to '')
-rw-r--r-- | src/usr.sbin/ocspcheck/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.sbin/ocspcheck/http.c b/src/usr.sbin/ocspcheck/http.c index ce479f27ef..5c914a4857 100644 --- a/src/usr.sbin/ocspcheck/http.c +++ b/src/usr.sbin/ocspcheck/http.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: http.c,v 1.10 2018/11/06 20:41:11 jsing Exp $ */ | 1 | /* $Id: http.c,v 1.11 2018/11/29 14:25:07 tedu Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> | 3 | * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> |
4 | * | 4 | * |
@@ -135,7 +135,7 @@ http_init() | |||
135 | goto err; | 135 | goto err; |
136 | } | 136 | } |
137 | 137 | ||
138 | if (tls_config_set_ca_file(tlscfg, TLS_CA_CERT_FILE) == -1) { | 138 | if (tls_config_set_ca_file(tlscfg, tls_default_ca_cert_file()) == -1) { |
139 | warn("tls_config_set_ca_file: %s", tls_config_error(tlscfg)); | 139 | warn("tls_config_set_ca_file: %s", tls_config_error(tlscfg)); |
140 | goto err; | 140 | goto err; |
141 | } | 141 | } |