Skip to content

Commit 9061180

Browse files
author
Jonney
authored
Forget to return in setup_iv()
Exception: 'NoneType' object has no attribute 'iv' from 127.0.0.1
1 parent 542cc8a commit 9061180

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pproxy/cipher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def setup_iv(self, iv=None):
4343
self._buffer = bytearray()
4444
self._declen = None
4545
self.setup()
46+
return self
4647
@property
4748
def nonce(self):
4849
ret = self._nonce.to_bytes(self.NONCE_LENGTH, 'little')

0 commit comments

Comments
 (0)