Browse Source

Use explicit prefix for dbm NSS databases

sql is the default since 3.35

Fixes #10
Filippo Valsorda 6 years ago
parent
commit
1bc392c3cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      truststore_firefox.go

+ 1 - 1
truststore_firefox.go

@@ -77,7 +77,7 @@ func (m *mkcert) forEachFirefoxProfile(f func(profile string)) (found int) {
 	}
 	for _, profile := range profiles {
 		if _, err := os.Stat(filepath.Join(profile, "cert8.db")); !os.IsNotExist(err) {
-			f(profile)
+			f("dbm:" + profile)
 			found++
 		}
 		if _, err := os.Stat(filepath.Join(profile, "cert9.db")); !os.IsNotExist(err) {