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

index b49bd24e8792578bfa3b47627a3e2ef62aafaacb..e785381395a3fd632ec9aba6610b915db7f35261 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, 0);
        if (newvp) {
                ess->keys.identitylen = newvp->length;
                memcpy(ess->keys.identity, newvp->vp_octets, newvp->length);