mirror of
https://github.com/securego/gosec.git
synced 2025-01-03 22:52:22 +02:00
Fix typo (#547)
This commit is contained in:
parent
d8fa95aad8
commit
9fe0b2e21a
@ -134,7 +134,7 @@ func (t *insecureConfigTLS) mapVersion(version string) int16 {
|
||||
|
||||
func (t *insecureConfigTLS) checkVersion(n ast.Node, c *gosec.Context) *gosec.Issue {
|
||||
if t.actualMaxVersion == 0 && t.actualMinVersion >= t.MinVersion {
|
||||
// no warning is generated since the min version is grater than the secure min version
|
||||
// no warning is generated since the min version is greater than the secure min version
|
||||
return nil
|
||||
}
|
||||
if t.actualMinVersion < t.MinVersion {
|
||||
|
Loading…
Reference in New Issue
Block a user