1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-04 18:48:24 +01:00
phpseclib/phpseclib
Tyson Andre 41eb0d8012 Fix logic error reading random bytes from /dev/urandom
Fixes a bug introduced in c2be7e648

Previously, this would return those bytes if the number of bytes read
was **less than** the number of bytes this was trying to read.

In practice, I believe this would mean bytes from /dev/urandom would never
get used.  (Noticed when upgrading phpseclib)
2020-04-03 07:33:58 -05:00
..
Crypt Fix logic error reading random bytes from /dev/urandom 2020-04-03 07:33:58 -05:00
File ASN1: fix for malformed ASN1 strings 2020-03-02 10:18:30 -06:00
Math fix bug with toBytes() with fixed precision negative numbers 2019-09-15 17:19:35 -05:00
Net SFTP: change the mode with a SETSTAT instead of MKDIR 2020-03-28 18:04:26 -05:00
System return early if fread() response is bool(false) 2020-02-01 17:30:52 -06:00
bootstrap.php Add bootstrap.php checking environment (MB_OVERLOAD_STRING). 2016-04-09 17:40:25 -05:00
openssl.cnf