Qt-Security-QSslConfigurationSetProtocolΒΆ

Check QSslConfiguration::setProtocol

Required inputs: IR

The QSslConfiguration class allows setting the TLS protocol version to be used via the setProtocol() method. This rule flags all calls to this method that use hardcoded protocol versions. Hardcoded protocols may be forgotten and deemed insecure in the future. The default value QSsl::SecureProtocols should be used instead.

Possible Messages

Key

Text

Severity

Disabled

insecure_argument

Insecure argument used in call to {}.

None

False

Options