1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-11 08:39:43 +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) function _increment_str(&$var)
{ {
if (function_exists('sodium_increment')) { if (function_exists('sodium_increment')) {
$var = strrev($var);
sodium_increment($var); sodium_increment($var);
$var = strrev($var);
return; return;
} }