Close opened files on error
Remove unused variables
Fix mac signature hash table indexing
Merge pull request #38 from madmac2501/master

Fix mac signature hash table indexing