aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2021-03-07 15:29:38 +0100
committerMatthias Andree <matthias.andree@gmx.de>2021-03-07 15:29:48 +0100
commit66ae17e72ca9f1e92b7690b0d846fa8df603e7c3 (patch)
tree93a757d08c7a5b118b5a279b8982c43674d379a9
parent6fc3c3e3f5dfbe3c39190b8001cbb852e783005f (diff)
downloadfetchmail-66ae17e72ca9f1e92b7690b0d846fa8df603e7c3.tar.gz
fetchmail-66ae17e72ca9f1e92b7690b0d846fa8df603e7c3.tar.bz2
fetchmail-66ae17e72ca9f1e92b7690b0d846fa8df603e7c3.zip
tls-aux.c: Fix comments.
-rw-r--r--tls-aux.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/tls-aux.c b/tls-aux.c
index a3fc7908..a2c2a080 100644
--- a/tls-aux.c
+++ b/tls-aux.c
@@ -6,10 +6,9 @@
#include <string.h>
#include <openssl/x509.h>
-/** return a constant copy of the default SSL certificate path
- * the directory with hashed certificates, see
- * SSL_CTX_load_verify_locations(3),
- * not to be modified by caller. */
+/** return a constant copy of the default SSL certificate path, i. e.
+ * the directory with hashed certificates, see SSL_CTX_load_verify_locations(3).
+ * Return value not to be modified by caller. */
const char *get_default_cert_path(void) {
const char *rb = (char *)0, *tmp;
@@ -21,9 +20,9 @@ const char *get_default_cert_path(void) {
}
/** return a constant copy of the default SSL certificate file
- * the directory with hashed certificates, see
- * SSL_CTX_load_verify_locations(3),
- * not to be modified by caller. */
+ * with a concatenation of all trusted certificates,
+ * the so-called certificate bundle. See SSL_CTX_load_verify_locations(3),
+ * Return value not to be modified by caller. */
const char *get_default_cert_file(void) {
const char *rb = (char *)0, *tmp;