Applied fixes from StyleCI

This commit is contained in:
Daniil Gentili 2016-08-14 20:38:17 -04:00 committed by StyleCI Bot
parent f99f432056
commit 1f858ac162
2 changed files with 4 additions and 4 deletions

View File

@ -61,9 +61,9 @@ class Logging
$mode = $this->mode;
}
foreach ($params as $param) {
if (!is_string($param)) {
$param = var_export($param, true);
}
if (!is_string($param)) {
$param = var_export($param, true);
}
switch ($mode) {
case '1':
error_log($param);

View File

@ -328,7 +328,7 @@ Slv8kg9qv1m6XHVQY3PnEw+QQtqSIXklHwIDAQAB
}
$retry_id = 0;
$b_str = \phpseclib\Crypt\Random::string(256);
$b = new \phpseclib\Math\BigInteger($b_str, 256);
$b = new \phpseclib\Math\BigInteger($b_str, 256);
$g_b = $g->powMod($b, $dh_prime);
$g_b_str = $g_b->toBytes();
$data = $this->tl->serialize_obj('client_DH_inner_data', ['nonce' => $nonce, 'server_nonce' => $server_nonce, 'retry_id' => $retry_id, 'g_b' => $g_b_str]);