Commit ddb9cfe
committed
logsrvd_relay_tls_ctx: Do not fall back on server TLS context
If a TLS-capable relay is enabled, logsrvd_config->relay.ssl_ctx
will be set. Unlike the relay TLS settings, there is no reason to
fall back on the main server TLS context if there is no relay TLS
context.
Found by the ZeroPath AI Security Engineer <https://zeropath.com>1 parent adf735c commit ddb9cfe
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
| 337 | + | |
340 | 338 | | |
341 | 339 | | |
342 | 340 | | |
| |||
0 commit comments