ike-cfg: Change how OCSP certificate requests are enabled

The previous option caused such requests to be enabled if not explicitly
disabled, which only the vici plugin did, for all other backends requests
would have been sent.

References strongswan/strongswan#2016
This commit is contained in:
Tobias Brunner
2024-03-15 15:38:19 +01:00
parent cfc7be004d
commit 9acd90575a
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -2672,8 +2672,8 @@ CALLBACK(config_sn, bool,
.remote = peer.remote_addrs,
.remote_port = peer.remote_port,
.no_certreq = !peer.send_certreq,
.no_ocsp_certreq = peer.ocsp != OCSP_SEND_BOTH &&
peer.ocsp != OCSP_SEND_REQUEST,
.ocsp_certreq = peer.ocsp == OCSP_SEND_BOTH ||
peer.ocsp == OCSP_SEND_REQUEST,
.force_encap = peer.encap,
.fragmentation = peer.fragmentation,
.childless = peer.childless,