int challenge_len = *challenge++;
int hash_len = MD5_DIGEST_LENGTH;
+ response[0] = 0;
PPP_MD_CTX* ctx = PPP_MD_CTX_new();
if (ctx) {
}
PPP_MD_CTX_free(ctx);
}
+ if (response[0] == 0)
+ warn("Error occurred in preparing CHAP-Response");
}
static struct chap_digest_type md5_digest = {