Add checking capability to MD5 (bug #3619)