()
| 71 | } |
| 72 | |
| 73 | func (m *mkcert) checkNSS() bool { |
| 74 | if !hasCertutil { |
| 75 | return false |
| 76 | } |
| 77 | success := true |
| 78 | if m.forEachNSSProfile(func(profile string) { |
| 79 | err := exec.Command(certutilPath, "-V", "-d", profile, "-u", "L", "-n", m.caUniqueName()).Run() |
| 80 | if err != nil { |
| 81 | success = false |
| 82 | } |
| 83 | }) == 0 { |
| 84 | success = false |
| 85 | } |
| 86 | return success |
| 87 | } |
| 88 | |
| 89 | func (m *mkcert) installNSS() bool { |
| 90 | if m.forEachNSSProfile(func(profile string) { |
no test coverage detected