From 0486b4d689e2c9a71e367297ffc340469253332b Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 30 Jan 2021 10:52:19 +0100 Subject: tls-aux.c: add helper to obtain default cert paths ...and compile it as standalone test program. After "make check", you can check t.tls-aux.log in the build area for the defaults. Note that environment overrides can be made, see SSL_CTX_set_default_verify_paths(3) or, for instance, https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_default_verify_paths.html OpenSSL 3.x may ship an openssl-env(7) manual page. --- fetchmail.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index 902aae18..a5f15e8d 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -796,4 +796,8 @@ int ntlm_helper(int sock, struct query *ctl, const char *protocol); /* fm_realpath.c */ char *fm_realpath(const char *restrict file_name); +/* tls-aux.c */ +const char *get_default_cert_path(void); +const char *get_default_cert_file(void); + /* fetchmail.h ends here */ -- cgit v1.2.3