From: Arran Cudbard-Bell Date: Wed, 13 Dec 2017 21:13:54 +0000 (+0000) Subject: CID 1426105, CID 1426104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8dffd76b8f5fd19b9132098c1c3ca1ebcd57990e;p=thirdparty%2Ffreeradius-server.git CID 1426105, CID 1426104 --- diff --git a/src/modules/rlm_eap/types/rlm_eap_aka/rlm_eap_aka.c b/src/modules/rlm_eap/types/rlm_eap_aka/rlm_eap_aka.c index 7bff7b2c7f1..923c4dc5a44 100644 --- a/src/modules/rlm_eap/types/rlm_eap_aka/rlm_eap_aka.c +++ b/src/modules/rlm_eap/types/rlm_eap_aka/rlm_eap_aka.c @@ -476,9 +476,9 @@ static int eap_aka_send_eap_failure_notification(eap_session_t *eap_session) * we are in the state machine. */ if (eap_aka_session->challenge_success) { - vp->vp_uint16 &= ~0x40000; /* Unset phase bit */ + vp->vp_uint16 &= ~0x4000; /* Unset phase bit */ } else { - vp->vp_uint16 |= 0x40000; /* Set phase bit */ + vp->vp_uint16 |= 0x4000; /* Set phase bit */ } RDEBUG2("Sending AKA-Notification (%pV)", &vp->data); diff --git a/src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c b/src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c index 71cc71ef085..fe06938deb2 100644 --- a/src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c +++ b/src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c @@ -378,9 +378,9 @@ static int eap_sim_send_eap_failure_notification(eap_session_t *eap_session) * we are in the state machine. */ if (eap_sim_session->challenge_success) { - vp->vp_uint16 &= ~0x40000; /* Unset phase bit */ + vp->vp_uint16 &= ~0x4000; /* Unset phase bit */ } else { - vp->vp_uint16 |= 0x40000; /* Set phase bit */ + vp->vp_uint16 |= 0x4000; /* Set phase bit */ } RDEBUG2("Sending SIM-Notification (%pV)", &vp->data);