diff options
| author | 2018-11-06 20:40:49 +0000 | |
|---|---|---|
| committer | 2018-11-06 20:40:49 +0000 | |
| commit | aad8b57b15eff598f2532ab99b24ca42ea063bf6 (patch) | |
| tree | ae91b4cf0a901197ca46e7d44d80652453fd8306 /usr.sbin/acme-client/netproc.c | |
| parent | Use TLS_CA_CERT_FILE instead of a separate define. (diff) | |
| download | wireguard-openbsd-aad8b57b15eff598f2532ab99b24ca42ea063bf6.tar.xz wireguard-openbsd-aad8b57b15eff598f2532ab99b24ca42ea063bf6.zip | |
Use TLS_CA_CERT_FILE instead of a separate define.
ok beck@ bluhm@ tb@
Diffstat (limited to 'usr.sbin/acme-client/netproc.c')
| -rw-r--r-- | usr.sbin/acme-client/netproc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/acme-client/netproc.c b/usr.sbin/acme-client/netproc.c index a0f1afab915..472c86aface 100644 --- a/usr.sbin/acme-client/netproc.c +++ b/usr.sbin/acme-client/netproc.c @@ -1,4 +1,4 @@ -/* $Id: netproc.c,v 1.17 2018/08/08 17:47:44 deraadt Exp $ */ +/* $Id: netproc.c,v 1.18 2018/11/06 20:40:49 jsing Exp $ */ /* * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -22,6 +22,7 @@ #include <stdlib.h> #include <string.h> #include <unistd.h> +#include <tls.h> #include "http.h" #include "extern.h" @@ -612,7 +613,7 @@ netproc(int kfd, int afd, int Cfd, int cfd, int dfd, int rfd, memset(&paths, 0, sizeof(struct capaths)); memset(&c, 0, sizeof(struct conn)); - if (unveil(DEFAULT_CA_FILE, "r") == -1) { + if (unveil(TLS_CA_CERT_FILE, "r") == -1) { warn("unveil"); goto out; } |
