1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-04 02:27:52 +01:00
tgseclib/phpseclib/Crypt
Wes d4a98457bc Check phpinfo() is available before using
Fixes an issue I raised at https://github.com/phpseclib/phpseclib/issues/1255

Proof of logic at https://3v4l.org/RqrHt

I ended up moving more code than discussed in the issue - initially to avoid `$content` being undefined when it came to `preg_match_all()`, but also as it made sense grouping the code that way. Also, initialising `$versions` outside the check, right at the start ensures it's always defined for the `switch` code further down.
2018-03-24 11:05:16 +00:00
..
AES.php reapply PR #931 2016-05-08 01:34:37 -05:00
Base.php Merge branch '1.0' into 2.0 2017-12-17 15:05:15 -06:00
Blowfish.php Merge branch '1.0' into 2.0 2017-12-19 07:27:55 -06:00
DES.php Fixed #632 Fatal error: Cannot access self:: when no class scope is active 2017-06-20 12:43:42 +02:00
Hash.php Merge branch '1.0' into 2.0 2017-12-09 18:39:27 -06:00
Random.php Merge branch '1.0-travis-exp' into 2.0-travis-exp 2017-12-03 22:40:31 -06:00
RC2.php Merge branch '1.0' into 2.0 2017-12-19 07:27:55 -06:00
RC4.php Merge branch '1.0' into 2.0 2017-10-05 05:26:49 -05:00
Rijndael.php add PHP5-style constructors along side PHP4-style ones 2016-09-10 10:41:05 -07:00
RSA.php Check phpinfo() is available before using 2018-03-24 11:05:16 +00:00
TripleDES.php add PHP5-style constructors along side PHP4-style ones 2016-09-10 10:41:05 -07:00
Twofish.php Merge branch '1.0' into 2.0 2017-12-17 15:05:15 -06:00