Fix hash function comparator

This commit is contained in:
Tatsuhiro Tsujikawa 2014-09-11 23:54:17 +09:00
parent 528cf5395b
commit c0b8b471ab
2 changed files with 5 additions and 2 deletions

View file

@ -76,7 +76,7 @@ void MessageDigestTest::testIsStronger()
CPPUNIT_ASSERT(MessageDigest::isStronger("sha-1", "md5"));
CPPUNIT_ASSERT(!MessageDigest::isStronger("md5", "sha-1"));
CPPUNIT_ASSERT(!MessageDigest::isStronger("unknown", "sha-1"));
CPPUNIT_ASSERT(!MessageDigest::isStronger("sha-1", "unknown"));
CPPUNIT_ASSERT(MessageDigest::isStronger("sha-1", "unknown"));
}
void MessageDigestTest::testIsValidHash()