Windows: Fix path where to look for firefox NSS DB
diff --git a/poppler/SignatureHandler.cc b/poppler/SignatureHandler.cc
index 23c057f..43fc974 100644
--- a/poppler/SignatureHandler.cc
+++ b/poppler/SignatureHandler.cc
@@ -666,9 +666,13 @@
     }
 }
 
-static std::optional<std::string> getDefaultFirefoxCertDB_Linux()
+static std::optional<std::string> getDefaultFirefoxCertDB()
 {
+#ifdef _WIN32
+    const std::string firefoxPath = std::string(getenv("HOME")) + "/AppData/Roaming/Mozilla/Firefox/Profiles/";
+#else
     const std::string firefoxPath = std::string(getenv("HOME")) + "/.mozilla/firefox/";
+#endif
 
     GDir firefoxDir(firefoxPath.c_str());
     std::unique_ptr<GDirEntry> entry;
@@ -706,7 +710,7 @@
         initSuccess = (NSS_Init(nssDir.c_str()) == SECSuccess);
         sNssDir = nssDir.toStr();
     } else {
-        const std::optional<std::string> certDBPath = getDefaultFirefoxCertDB_Linux();
+        const std::optional<std::string> certDBPath = getDefaultFirefoxCertDB();
         if (!certDBPath) {
             initSuccess = (NSS_Init("sql:/etc/pki/nssdb") == SECSuccess);
             sNssDir = "sql:/etc/pki/nssdb";