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:
commit
60b1e2cb18
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user