add one more nonce in the reserved nonces list

This commit is contained in:
Alexander Bersenev
2019-08-16 16:45:22 +05:00
parent 8a4bc77125
commit a65f7a8e17

View File

@@ -1057,7 +1057,7 @@ async def do_direct_handshake(proto_tag, dc_idx, dec_key_and_iv=None):
RESERVED_NONCE_FIRST_CHARS = [b"\xef"]
RESERVED_NONCE_BEGININGS = [b"\x48\x45\x41\x44", b"\x50\x4F\x53\x54",
b"\x47\x45\x54\x20", b"\xee\xee\xee\xee",
b"\xdd\xdd\xdd\xdd"]
b"\xdd\xdd\xdd\xdd", b"\x16\x03\x01\x02"]
RESERVED_NONCE_CONTINUES = [b"\x00\x00\x00\x00"]
global my_ip_info