pycryptodome icon indicating copy to clipboard operation
pycryptodome copied to clipboard

unnecessary line removed

Open gonatienza opened this issue 1 year ago • 0 comments

Removed unnecessary orphaned line (self._len_ct += len(plaintext)) that would raise exception if it were not under the exception raised by the KeyError exception handling.

try:
    key = kwargs.pop("key")
except KeyError as e:
    raise TypeError("Missing parameter %s" % e)

    self._len_ct += len(plaintext)

gonatienza avatar Jul 04 '24 01:07 gonatienza