1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00
This commit is contained in:
Fadi Abbud 2022-01-05 15:59:16 +01:00
parent a1d2a445b7
commit b32f2c6b03

View file

@ -55,7 +55,7 @@ type processor struct {
keyRing *crypto.KeyRing keyRing *crypto.KeyRing
} }
// Config-files pathes // Pathes to the config ini file
var iniPaths = []string{ var iniPaths = []string{
"~/.config/csaf/uploader.ini", "~/.config/csaf/uploader.ini",
"~/.csaf_uploader.ini", "~/.csaf_uploader.ini",
@ -112,7 +112,7 @@ func newProcessor(opts *options) (*processor, error) {
} }
// httpClient Initializes the http client according // httpClient Initializes the http client according
// to the "Insecure" flag option and return it // to the "Insecure" flag option and returns it
func (p *processor) httpClient() *http.Client { func (p *processor) httpClient() *http.Client {
var client http.Client var client http.Client
if p.opts.Insecure { if p.opts.Insecure {