removed pcb->chap_mdtype_all

This commit is contained in:
Sylvain Rochet
2012-06-19 23:14:31 +02:00
parent 7ecfe6304a
commit 26250f1953
5 changed files with 14 additions and 11 deletions

View File

@@ -1364,8 +1364,8 @@ auth_check_options()
#endif /* EAP_SUPPORT */
) {
#if CHAP_SUPPORT
wo->neg_chap = pcb->chap_mdtype_all != MDTYPE_NONE;
wo->chap_mdtype = pcb->chap_mdtype_all;
wo->neg_chap = CHAP_MDTYPE_SUPPORTED != MDTYPE_NONE;
wo->chap_mdtype = CHAP_MDTYPE_SUPPORTED;
#endif /* CHAP_SUPPORT */
#if PAP_SUPPORT
wo->neg_upap = 1;