mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 21:33:43 +00:00
Fix for Bug 83177, Checking in for Kai Engert
r=ddrinan, sr=blizzard Add PFX to the supported file extensions when looking for a certificate to look for. Will make inter-op with IE better.
This commit is contained in:
parent
7fadde140f
commit
ebc10a1395
@ -227,7 +227,7 @@ function backupCerts()
|
||||
fp.init(window,
|
||||
bundle.GetStringFromName("chooseP12BackupFileDialog"),
|
||||
nsIFilePicker.modeSave);
|
||||
fp.appendFilter("PKCS12 Files (*.p12)", "*.p12");
|
||||
fp.appendFilter("PKCS12 Files", "*.p12");
|
||||
fp.appendFilters(nsIFilePicker.filterAll);
|
||||
var rv = fp.show();
|
||||
if (rv == nsIFilePicker.returnOK || rv == nsIFilePicker.returnReplace) {
|
||||
@ -268,7 +268,7 @@ function restoreCerts()
|
||||
fp.init(window,
|
||||
bundle.GetStringFromName("chooseP12RestoreFileDialog"),
|
||||
nsIFilePicker.modeOpen);
|
||||
fp.appendFilter("PKCS12 Files (*.p12)", "*.p12");
|
||||
fp.appendFilter("PKCS12 Files", "*.p12;*.pfx");
|
||||
fp.appendFilters(nsIFilePicker.filterAll);
|
||||
if (fp.show() == nsIFilePicker.returnOK) {
|
||||
var certdb = Components.classes[nsX509CertDB].getService(nsIX509CertDB);
|
||||
|
Loading…
Reference in New Issue
Block a user