From: Andreas Steffen Date: Wed, 30 Dec 2009 22:32:03 +0000 (+0100) Subject: make error message about missing MD4 hasher more explicit X-Git-Tag: 4.3.6~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7eaec999ca577fbde701d3ecf874cd9fee838f79;p=thirdparty%2Fstrongswan.git make error message about missing MD4 hasher more explicit --- diff --git a/src/charon/plugins/eap_mschapv2/eap_mschapv2.c b/src/charon/plugins/eap_mschapv2/eap_mschapv2.c index a5cab2100e..71e313ae0b 100644 --- a/src/charon/plugins/eap_mschapv2/eap_mschapv2.c +++ b/src/charon/plugins/eap_mschapv2/eap_mschapv2.c @@ -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);