]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
make error message about missing MD4 hasher more explicit
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 30 Dec 2009 22:32:03 +0000 (23:32 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 30 Dec 2009 22:32:03 +0000 (23:32 +0100)
src/charon/plugins/eap_mschapv2/eap_mschapv2.c

index a5cab2100eb6fd03d89ba29c04bb4f09795a8afd..71e313ae0b0e0852f24ab8071029c8ff7ebdfd4d 100644 (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);