mirror of
https://github.com/danog/tgseclib.git
synced 2024-12-04 02:27:52 +01:00
d4a98457bc
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. |
||
---|---|---|
.. | ||
AES.php | ||
Base.php | ||
Blowfish.php | ||
DES.php | ||
Hash.php | ||
Random.php | ||
RC2.php | ||
RC4.php | ||
Rijndael.php | ||
RSA.php | ||
TripleDES.php | ||
Twofish.php |