mirror of
https://github.com/FiloSottile/mkcert.git
synced 2025-10-14 00:41:40 +08:00
Use explicit prefix for dbm NSS databases
sql is the default since 3.35 Fixes #10
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user