summaryrefslogtreecommitdiff
path: root/lib/vtls/nss.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-08-18 00:22:34 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-19 15:55:50 +0200
commit80d73bcca22f098812db06c08bbf2807f19782c0 (patch)
treeffe846c9a90c3087dcd8dcbbba5694b04b9e101e /lib/vtls/nss.c
parent9d954e49bce3706a9a2efb119ecd05767f0f2a9e (diff)
downloadcurl-80d73bcca22f098812db06c08bbf2807f19782c0.tar.gz
tls: provide the CApath verbose log on its own line
... not newline separated from the previous line. This makes it output asterisk prefixed properly like other verbose putput! Reported-by: jmdavitt on github Fixes #5826 Closes #5827
Diffstat (limited to 'lib/vtls/nss.c')
-rw-r--r--lib/vtls/nss.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c
index 0f0d1ee6c..f1ae98f98 100644
--- a/lib/vtls/nss.c
+++ b/lib/vtls/nss.c
@@ -1631,9 +1631,8 @@ static CURLcode nss_load_ca_certificates(struct connectdata *conn,
if(capath && !capath[0])
capath = NULL;
- infof(data, " CAfile: %s\n CApath: %s\n",
- cafile ? cafile : "none",
- capath ? capath : "none");
+ infof(data, " CAfile: %s\n", cafile ? cafile : "none");
+ infof(data, " CApath: %s\n", capath ? capath : "none");
/* load libnssckbi.so if no other trust roots were specified */
use_trust_module = !cafile && !capath;