make error message about missing MD4 hasher more explicit

This commit is contained in:
Andreas Steffen 2009-12-30 23:32:03 +01:00
parent 83c282ebb4
commit 7eaec999ca
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ static status_t NtPasswordHash(chunk_t password, chunk_t *password_hash)
hasher = lib->crypto->create_hasher(lib->crypto, HASH_MD4);
if (hasher == NULL)
{
DBG1(DBG_IKE, "EAP-MS-CHAPv2 failed, MD4 not supported");
DBG1(DBG_IKE, "EAP-MS-CHAPv2 failed, no MD4 hasher available");
return FAILED;
}
hasher->allocate_hash(hasher, password, password_hash);