Disabling MD5

Disabling MD5 until I can take a long look and what it’s supposed to
do. Right now, it’s not working as expected.
This commit is contained in:
ultramagnus_tcv 2016-01-06 11:24:04 -06:00
parent cfb2002bef
commit 4c8145f8a3
1 changed files with 5 additions and 4 deletions

View File

@ -249,10 +249,11 @@ for i in range(0,len(drivers_list)):
# calculate distance from beginning of current driver to
# next driver. reposition pointer to beginning of current
# driver. send number of bytes to read to hashing function
bytes_to_read = drivers_list[i]['comment_start'] + \
drivers_list[+1]['comment_start'] - 4
SOSfile.seek(drivers_list[i]['comment_start'] + 4,0)
drivers_list[i]['md5'] = md5hash(bytes_to_read)
## DISABLED FOR DEBUGGING ## EXPECT BLANK FIELDS IN the CSV
#bytes_to_read = drivers_list[i]['comment_start'] + \
#drivers_list[+1]['comment_start'] - 4
#SOSfile.seek(drivers_list[i]['comment_start'] + 4,0)
#drivers_list[i]['md5'] = md5hash(bytes_to_read)
# here we run a new loop to determine how many other DIBs exist
# under a major driver. This is primarily for drivers that are designed