Applied fixes from StyleCI
This commit is contained in:
parent
f99f432056
commit
1f858ac162
@ -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);
|
||||
|
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user