Fix authenticator was disconnecting when it shouldn't

This commit is contained in:
Lonami Exo 2017-09-21 13:54:44 +02:00
parent 2b2da843a1
commit 7f83a6109f

View File

@ -196,9 +196,6 @@ def _do_authentication(connection):
# Step 3 response: Complete DH Exchange
with BinaryReader(sender.receive()) as reader:
# Everything read from the server, disconnect now
sender.disconnect()
code = reader.read_int(signed=False)
if code == 0x3bcbf734: # DH Gen OK
nonce_from_server = reader.read(16)