summaryrefslogtreecommitdiff
path: root/security/manager/ssl/CertBlocklist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'security/manager/ssl/CertBlocklist.cpp')
-rw-r--r--security/manager/ssl/CertBlocklist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/manager/ssl/CertBlocklist.cpp b/security/manager/ssl/CertBlocklist.cpp
index 8701032ed5..43b99b359a 100644
--- a/security/manager/ssl/CertBlocklist.cpp
+++ b/security/manager/ssl/CertBlocklist.cpp
@@ -193,7 +193,11 @@ CertBlocklist::Init()
return rv;
}
nsAutoCString path;
+#ifdef XP_WIN
+ rv = mBackingFile->GetPersistentDescriptor(path);
+#else
rv = mBackingFile->GetNativePath(path);
+#endif
if (NS_FAILED(rv)) {
return rv;
}