A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/arduino/arduino-fwuploader/commit/bb28293cbba0babb76df6ff4919fe44133d7c3f5 below:

Fix regression introduced after major refactoring (#177) · arduino/arduino-fwuploader@bb28293 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+10

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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