wait extra data
This commit is contained in:
parent
e8f6d87bb1
commit
293a937501
1 changed files with 3 additions and 0 deletions
|
@ -1485,6 +1485,9 @@ class auth_aes128_sha1(auth_base):
|
|||
mac_key = self.server_info.recv_iv + self.server_info.key
|
||||
sha1data = hmac.new(mac_key, self.recv_buf[:3], self.hashfunc).digest()[:4]
|
||||
if sha1data != self.recv_buf[3:7]:
|
||||
if self.method == self.no_compatible_method:
|
||||
if len(self.recv_buf) < 31 + self.extra_wait_size:
|
||||
return (b'', False)
|
||||
return self.not_match_return(self.recv_buf)
|
||||
|
||||
if len(self.recv_buf) < 31:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue