]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
CID 1426105, CID 1426104
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 13 Dec 2017 21:13:54 +0000 (21:13 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 13 Dec 2017 21:27:30 +0000 (21:27 +0000)
src/modules/rlm_eap/types/rlm_eap_aka/rlm_eap_aka.c
src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c

index 7bff7b2c7f110f1540fba21b78f30fa9bd9be6e4..923c4dc5a4462f7aa3996a6911db48418f8169c9 100644 (file)
@@ -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);
index 71cc71ef085064f417bdca6958d65d5bcf9eb7f2..fe06938deb2d66ab224aeb658695298de5a70767 100644 (file)
@@ -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);