]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix typo
authorAlan T. DeKok <aland@freeradius.org>
Wed, 22 Feb 2012 08:50:28 +0000 (09:50 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 22 Feb 2012 08:50:28 +0000 (09:50 +0100)
src/modules/rlm_eap/types/rlm_eap_sim/rlm_eap_sim.c

index b9e9b08acf45a176d38dc5e8987310388a1a14e6..dccf86141903401d242f13ea8e54d4d8fbf2731c 100644 (file)
@@ -247,7 +247,7 @@ static int eap_sim_sendchallenge(EAP_HANDLER *handler)
        pairreplace(outvps, newvp);
 
        /* make a copy of the identity */
-       newvp = pairfind(invps, ATTRIBUTE_EAP_SIM_BASE + PW_EAP_SIM_IDENTITY);
+       newvp = pairfind(*invps, ATTRIBUTE_EAP_SIM_BASE + PW_EAP_SIM_IDENTITY);
        if (newvp) {
                ess->keys.identitylen = newvp->length;
                memcpy(ess->keys.identity, newvp->vp_octets, newvp->length);