Add Justifications for Gosec Ignored (#10005)

* pin gosec

* edit

* go back to master

* justifications

* Update crypto/bls/blst/signature.go

* proper format

* gosec
This commit is contained in:
Raul Jordan
2021-12-09 14:40:48 -05:00
committed by GitHub
parent 00c3a7dcaf
commit b381ad49b5
12 changed files with 26 additions and 28 deletions

View File

@@ -50,7 +50,7 @@ func getAndSaveFile(specDocUrl, outFilePath string) error {
}()
// Download spec doc.
resp, err := http.Get(specDocUrl) /* #nosec G107 */
resp, err := http.Get(specDocUrl) // #nosec G107 -- False positive
if err != nil {
return err
}