Matt Caswell 7cc18d8158 Reject negative shifts for BN_rshift and BN_lshift
The functions BN_rshift and BN_lshift shift their arguments to the right or
left by a specified number of bits. Unpredicatable results (including
crashes) can occur if a negative number is supplied for the shift value.

Thanks to Mateusz Kocielski (LogicalTrust), Marek Kroemeke and Filip Palian
for discovering and reporting this issue.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2015-05-22 23:15:02 +01:00
..
2014-12-22 16:23:24 +01:00
2015-05-22 23:10:51 +01:00

 apps/openssl.pod .... Documentation of OpenSSL `openssl' command
 crypto/crypto.pod ... Documentation of OpenSSL crypto.h (libcrypto)
 ssl/ssl.pod ......... Documentation of OpenSSL ssl.h (libssl)
 standards.txt ....... Pointers to standards, RFCs or internet drafts
                       that are related to OpenSSL.  Incomplete.

 HTML versions are on https://www.openssl.org/docs