diff options
author | tedu <> | 2018-11-29 14:25:07 +0000 |
---|---|---|
committer | tedu <> | 2018-11-29 14:25:07 +0000 |
commit | 1bda933838005af4f10d217cdb7a36a4302b1204 (patch) | |
tree | 676bc83a43d85366fc7cbb544c96a4ba95d736cf /src/usr.sbin/ocspcheck | |
parent | 8e376166426749fe5f95ab4ad9e6adfc863634d1 (diff) | |
download | openbsd-1bda933838005af4f10d217cdb7a36a4302b1204.tar.gz openbsd-1bda933838005af4f10d217cdb7a36a4302b1204.tar.bz2 openbsd-1bda933838005af4f10d217cdb7a36a4302b1204.zip |
update for libtls default cert changes.
bonus: this exposed a few missing const qualifiers.
Diffstat (limited to 'src/usr.sbin/ocspcheck')
-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 | } |