Enable md5 link if sha1 is selected or nothing is selected

This code part was bad documented.