1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-02 17:52:59 +01:00

Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2022-02-18 01:46:00 -06:00
commit 60b1e2cb18

View File

@ -2079,7 +2079,9 @@ abstract class Base
function _increment_str(&$var)
{
if (function_exists('sodium_increment')) {
$var = strrev($var);
sodium_increment($var);
$var = strrev($var);
return;
}