added debug output for NSS certpath.
authorGunter Knauf <gk@gknw.de>
Tue, 8 Sep 2009 01:13:49 +0000 (01:13 +0000)
committerGunter Knauf <gk@gknw.de>
Tue, 8 Sep 2009 01:13:49 +0000 (01:13 +0000)
lib/nss.c

index 9353879..ae07304 100644 (file)
--- a/lib/nss.c
+++ b/lib/nss.c
@@ -978,6 +978,8 @@ CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex)
 
     if (!NSS_IsInitialized()) {
       initialized = 1;
+      infof(conn->data, "Initializing NSS with certpath: %s\n",
+            certDir ? certDir : "none");
       if(!certDir) {
         rv = NSS_NoDB_Init(NULL);
       }