mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 11:35:52 +00:00
Fix typo (#547)
This commit is contained in:
parent
d8fa95aad8
commit
9fe0b2e21a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue