From 1bda933838005af4f10d217cdb7a36a4302b1204 Mon Sep 17 00:00:00 2001 From: tedu <> Date: Thu, 29 Nov 2018 14:25:07 +0000 Subject: update for libtls default cert changes. bonus: this exposed a few missing const qualifiers. --- src/usr.sbin/ocspcheck/http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr.sbin/ocspcheck') 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 @@ -/* $Id: http.c,v 1.10 2018/11/06 20:41:11 jsing Exp $ */ +/* $Id: http.c,v 1.11 2018/11/29 14:25:07 tedu Exp $ */ /* * Copyright (c) 2016 Kristaps Dzonsons * @@ -135,7 +135,7 @@ http_init() goto err; } - if (tls_config_set_ca_file(tlscfg, TLS_CA_CERT_FILE) == -1) { + if (tls_config_set_ca_file(tlscfg, tls_default_ca_cert_file()) == -1) { warn("tls_config_set_ca_file: %s", tls_config_error(tlscfg)); goto err; } -- cgit v1.2.3-55-g6feb