summaryrefslogtreecommitdiff
path: root/src/usr.sbin/ocspcheck/http.c
diff options
context:
space:
mode:
authortedu <>2018-11-29 14:25:07 +0000
committertedu <>2018-11-29 14:25:07 +0000
commit5f08effe8d3a6601a2f55a020ef051bef28cf946 (patch)
tree676bc83a43d85366fc7cbb544c96a4ba95d736cf /src/usr.sbin/ocspcheck/http.c
parent6dee83d0efd9b6a0e45f73737efb9078aafbdd15 (diff)
downloadopenbsd-5f08effe8d3a6601a2f55a020ef051bef28cf946.tar.gz
openbsd-5f08effe8d3a6601a2f55a020ef051bef28cf946.tar.bz2
openbsd-5f08effe8d3a6601a2f55a020ef051bef28cf946.zip
update for libtls default cert changes.
bonus: this exposed a few missing const qualifiers.
Diffstat (limited to 'src/usr.sbin/ocspcheck/http.c')
-rw-r--r--src/usr.sbin/ocspcheck/http.c4
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 }