Fix reformatted functions names

This commit is contained in:
Dan 2018-01-04 16:30:29 +01:00
parent 2bb4c52a7c
commit 5244e962d1

View File

@ -125,7 +125,7 @@ class Auth:
# Step 5. TODO: Handle "server_DH_params_fail". Code assumes response is ok # Step 5. TODO: Handle "server_DH_params_fail". Code assumes response is ok
log.debug("Send req_DH_params") log.debug("Send req_DH_params")
server_dh_params = self.send( server_dh_params = self.send(
functions.ReqDhParams( functions.ReqDHParams(
nonce, nonce,
server_nonce, server_nonce,
int.to_bytes(p, 4, "big"), int.to_bytes(p, 4, "big"),
@ -171,7 +171,7 @@ class Auth:
retry_id = 0 retry_id = 0
data = types.ClientDhInnerData( data = types.ClientDHInnerData(
nonce, nonce,
server_nonce, server_nonce,
retry_id, retry_id,
@ -185,7 +185,7 @@ class Auth:
log.debug("Send set_client_DH_params") log.debug("Send set_client_DH_params")
set_client_dh_params_answer = self.send( set_client_dh_params_answer = self.send(
functions.SetClientDhParams( functions.SetClientDHParams(
nonce, nonce,
server_nonce, server_nonce,
encrypted_data encrypted_data