- Timestamp:
- 10/17/16 19:00:20 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/bletchley/buffertools.py
r100 r117 135 135 136 136 length = decrypted[-1] 137 if length > block_size:137 if (length == 0) or (length > block_size): 138 138 if log_file: 139 139 log_file.write("Can't strip PKCS7 pad. Final byte length (%d) too large.\n" % length)
Note: See TracChangeset
for help on using the changeset viewer.