mirror of
https://github.com/securego/gosec.git
synced 2025-01-28 03:29:28 +02:00
27a5ffb5c8
Both MinVersion and MaxVersion of crypto/tls.Config are uint16, so the int16 fields of rules.insecureConfigTLS are too small. GetInt() interprets integer literals as fitting within 64-bits, so simplify things by using int64.