diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-08-21 14:30:18 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-08-21 14:30:18 +0000 |
commit | 0c95df5bdc518d23e4d9d0e5c33b025001fbfb53 (patch) | |
tree | 3b961ad453b0597b8f3cece0f45ab1d101d993f9 /sbin/iked/iked.c | |
parent | ea1be61fabece4ab78af1c506bb63cf58272e636 (diff) |
Use trusted CA from /etc/iked/ca/ as OCSP issuer to get rid of
/etc/iked/ocsp/issuer.crt.
Try to get the OCSP url from the CA/issuer certificate, otherwise
use the URL configured in 'set ocsp' in iked.conf.
ok patrick@
Diffstat (limited to 'sbin/iked/iked.c')
-rw-r--r-- | sbin/iked/iked.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/iked.c b/sbin/iked/iked.c index 593db743dc1..e2ea8fc95c8 100644 --- a/sbin/iked/iked.c +++ b/sbin/iked/iked.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iked.c,v 1.43 2020/04/09 19:55:19 tobhe Exp $ */ +/* $OpenBSD: iked.c,v 1.44 2020/08/21 14:30:17 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -392,7 +392,7 @@ parent_dispatch_ca(int fd, struct privsep_proc *p, struct imsg *imsg) switch (imsg->hdr.type) { case IMSG_OCSP_FD: - ocsp_connect(env); + ocsp_connect(env, imsg); break; default: return (-1); |