Fixed integrity check method
Merge pull request #68 from gergo-debreczeni/master

Fixed integrity check method