This commit is contained in:
Daniil Gentili 2019-07-15 20:15:01 +00:00
parent 22bac48aee
commit c5f078cc1d
2 changed files with 2 additions and 2 deletions

2
docs

@ -1 +1 @@
Subproject commit ddb2e4f76938b69ceac6e4615901c642accae1ef
Subproject commit dc05dc5cebfcec90ac7851928c522a4d635dbab6

View File

@ -472,7 +472,7 @@ trait AuthKeyHandler
return $this->dh_config;
}
$dh_config['p'] = new \phpseclib\Math\BigInteger($dh_config['p'], 256);
$dh_config['p'] = new \phpseclib\Math\BigInteger((string) $dh_config['p'], 256);
$dh_config['g'] = new \phpseclib\Math\BigInteger($dh_config['g']);
$this->check_p_g($dh_config['p'], $dh_config['g']);