diff options
-rwxr-xr-x | Demo/md5test/md5driver.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/md5test/md5driver.py b/Demo/md5test/md5driver.py index 4c7cfcb..25e7314 100755 --- a/Demo/md5test/md5driver.py +++ b/Demo/md5test/md5driver.py @@ -32,7 +32,7 @@ def MDTimeTrial(): filsiz = 1 << 8 filler = makestr(0, filsiz-1) - data = filler * (TEST_BLOCK_SIZE / filsiz); + data = filler * (TEST_BLOCK_SIZE // filsiz) data = data + filler[:(TEST_BLOCK_SIZE % filsiz)] del filsiz, filler @@ -62,7 +62,7 @@ def MDString(str): def MDFile(filename): - f = open(filename, 'rb'); + f = open(filename, 'rb') mdContext = md5.new() while 1: |