aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2021-01-30 10:52:19 +0100
committerMatthias Andree <matthias.andree@gmx.de>2021-01-30 10:52:19 +0100
commit0486b4d689e2c9a71e367297ffc340469253332b (patch)
treedc6429130f457a31f496ad90e2865bf5ecccba7d /fetchmail.h
parent7349f1241ab59a26b95117823981cf135c553add (diff)
downloadfetchmail-0486b4d689e2c9a71e367297ffc340469253332b.tar.gz
fetchmail-0486b4d689e2c9a71e367297ffc340469253332b.tar.bz2
fetchmail-0486b4d689e2c9a71e367297ffc340469253332b.zip
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.
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h4
1 files changed, 4 insertions, 0 deletions
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 */