Fix SHA1.cpp build problem on some platforms -- issue #473
Fix testsuite reference output