Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls: Handle tls.ca_path and tls.ca_file correcty
Suppose we have the following configuration: [OUTPUT] Name http ... tls On tls.ca_file /var/cert/custom.crt With the old code, `tls.ca_file` was simply ignored, because the old code checked ca_path first, and just proceeded to load system certs if ca_path was not provided. Fix `tls_context_create()` to honor ca_path and ca_file properly. Signed-off-by: Fujimoto Seiji <[email protected]>
- Loading branch information