+10
-0
lines changedFilter options
+10
-0
lines changed Original file line number Diff line number Diff line change
@@ -83,6 +83,16 @@ func (f *WincFlasher) FlashCertificates(certificatePaths *paths.PathList, URLs [
83
83
logrus.Infof("Converting and flashing certificate %s", certPath)
84
84
flasherOut.Write([]byte(fmt.Sprintf("Converting and flashing certificate %s\n", certPath)))
85
85
86
+
// Needed to mantain backword compatability
87
+
if certPath.Ext() == ".pem" {
88
+
certData, err := certPath.ReadFile()
89
+
if err != nil {
90
+
return err
91
+
}
92
+
certificatesData = append(certificatesData, certData...)
93
+
continue
94
+
}
95
+
86
96
certs, err := certificates.LoadCertificatesFromFile(certPath)
87
97
if err != nil {
88
98
return err
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4