Forgot to remove the no-longer necessary assertion in ECC.encrypt()

This commit is contained in:
R. Tyler Ballance 2009-07-07 11:20:10 -07:00
parent debcea0d43
commit 578c5b7a04
1 changed files with 1 additions and 2 deletions

View File

@ -43,8 +43,7 @@ class ECC(object):
def encrypt(self, plaintext):
assert plaintext, 'You cannot encrypt "nothing"'
return _pyecc.encrypt(plaintext, len(plaintext), self._kp, self._state)
return _pyecc.encrypt(plaintext, self._kp, self._state)
def decrypt(self, ciphertext):
assert ciphertext, 'You cannot decrypt "nothing"'