Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define EVP_PKT_SIGN 0x0010
- int ssl3_get_cert_verify(SSL *s)
- {
- int type=0, i, j;
- ....
- if ((peer != NULL) && (type | EVP_PKT_SIGN))
- ....
- }
- This suspicious code was found in OpenSSL project by PVS-Studio static code analyzer.
- Warning message is:
- V617 Consider inspecting the condition. The '0x0010' argument of the '|' bitwise operation contains a non-zero value. s3_srvr.c 2343
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment