Qt-Security-QSslSocketSetPeerVerifyModeΒΆ

Check QSslSocket::setPeerVerifyMode

Required inputs: IR

The method QSslSocket::setPeerVerifyMode() of the Qt framework allows to set the mode used for verifying the peer's TLS certificate. This rule reports all calls to this method. The Qt framework automatically determines the best mode to use for the application. Setting the mode manually poses a security risk and should be avoided if possible.

Possible Messages

Key

Text

Severity

Disabled

suspicious_call

Found suspicious call to {}.

None

False

Options