Skip to content

Commit

Permalink
CID 1426105, CID 1426104
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Dec 13, 2017
1 parent ef5e920 commit 8dffd76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/modules/rlm_eap/types/rlm_eap_aka/rlm_eap_aka.c
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c
Expand Up @@ -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);
Expand Down

0 comments on commit 8dffd76

Please sign in to comment.