Skip to content

Commit

Permalink
Merge branch 'akkariiin/dev' into akkariiin/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkariiin committed Sep 24, 2017
2 parents f565ba9 + 12cba30 commit c7e822e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shadowsocks/obfsplugin/auth_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ def init_data_size(self, key):
# key xor with key_change_datetime_key
new_key = list(key)
for i in range(0, 8):
new_key[i] = ord(new_key[i]) ^ self.key_change_datetime_key_bytes[i]
new_key[i] = chr(ord(new_key[i]) ^ self.key_change_datetime_key_bytes[i])
random.init_from_bin(new_key)
# 补全数组长为12~24-1
list_len = random.next() % (8 + 16) + (4 + 8)
Expand Down

0 comments on commit c7e822e

Please sign in to comment.