fix auth_aes128_* client side
This commit is contained in:
		
							parent
							
								
									ccacef1556
								
							
						
					
					
						commit
						9c794624e0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1224,7 +1224,7 @@ class auth_aes128_sha1(auth_base): | |||
|         uid = os.urandom(4) | ||||
|         if b':' in to_bytes(self.server_info.protocol_param): | ||||
|             try: | ||||
|                 items = to_bytes(self.server_info.protocol_param).split(':') | ||||
|                 items = to_bytes(self.server_info.protocol_param).split(b':') | ||||
|                 self.user_key = self.hashfunc(items[1]).digest() | ||||
|                 uid = struct.pack('<I', int(items[0])) | ||||
|             except: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue