Fix warning with MD/SHA ALT implementation

backport of e217cee

see #239
7 files changed