Skip to content

Commit

Permalink
Merge pull request qwj#118 from Jonney/patch-3
Browse files Browse the repository at this point in the history
Forget to return in setup_iv()
  • Loading branch information
qwj committed Mar 15, 2021
2 parents 9407210 + 9061180 commit e409543
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pproxy/cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def setup_iv(self, iv=None):
self._buffer = bytearray()
self._declen = None
self.setup()
return self
@property
def nonce(self):
ret = self._nonce.to_bytes(self.NONCE_LENGTH, 'little')
Expand Down

0 comments on commit e409543

Please sign in to comment.