diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2018-11-29 14:25:08 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2018-11-29 14:25:08 +0000 |
commit | 57034f8d36ca416ad4196e48c808f9d46f58e9e9 (patch) | |
tree | e3a1aa93a9edb1f10c9985dc905f743936718802 /usr.sbin/ypldap | |
parent | f3617f8e9dd53819ac29a0550c6ec2a3698df312 (diff) |
update for libtls default cert changes.
bonus: this exposed a few missing const qualifiers.
Diffstat (limited to 'usr.sbin/ypldap')
-rw-r--r-- | usr.sbin/ypldap/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypldap/parse.y b/usr.sbin/ypldap/parse.y index 3a317db7ca3..47b8381f449 100644 --- a/usr.sbin/ypldap/parse.y +++ b/usr.sbin/ypldap/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.31 2018/11/06 20:42:03 jsing Exp $ */ +/* $OpenBSD: parse.y,v 1.32 2018/11/29 14:25:07 tedu Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -845,7 +845,7 @@ parse_config(struct env *x_conf, const char *filename, int opts) TAILQ_INIT(&conf->sc_idms); conf->sc_conf_tv.tv_sec = DEFAULT_INTERVAL; conf->sc_conf_tv.tv_usec = 0; - conf->sc_cafile = strdup(TLS_CA_CERT_FILE); + conf->sc_cafile = strdup(tls_default_ca_cert_file()); if (conf->sc_cafile == NULL) { log_warn("%s", __func__); return (-1); |