From 9b2de514f9d06bc39d0c647bf119626c9bfee954 Mon Sep 17 00:00:00 2001 From: Akkariiin Date: Sun, 24 Sep 2017 13:34:36 +0800 Subject: [PATCH] add comments --- shadowsocks/obfsplugin/auth_chain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks/obfsplugin/auth_chain.py b/shadowsocks/obfsplugin/auth_chain.py index ad494b4..1413819 100644 --- a/shadowsocks/obfsplugin/auth_chain.py +++ b/shadowsocks/obfsplugin/auth_chain.py @@ -882,7 +882,7 @@ class auth_chain_f(auth_chain_e): try: self.key_change_interval = int(server_info.protocol_param.split('#')[1]) # config are in second except: - self.key_change_interval = 60 * 60 * 24 # a day + self.key_change_interval = 60 * 60 * 24 # a day by second self.key_change_datetime_key = int(int(time.time()) / self.key_change_interval) self.key_change_datetime_key_bytes = [] # big bit first list for i in range(7, -1, -1): # big-ending compare to c