From 1bc392c3cc19f69a692bdb2646ee01f342083d3a Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Thu, 28 Jun 2018 02:08:56 -0400 Subject: [PATCH] Use explicit prefix for dbm NSS databases sql is the default since 3.35 Fixes #10 --- truststore_firefox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truststore_firefox.go b/truststore_firefox.go index 60d521e..2410f21 100644 --- a/truststore_firefox.go +++ b/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) {