[PATCH] SCARD: Fix GSM authentication on USIM
Jouni Malinen
j
Thu May 15 15:42:03 PDT 2014
On Thu, May 15, 2014 at 08:10:39PM +0200, Simon Baatz wrote:
> scard_gsm_auth() used SIM_CMD_GET_RESPONSE for both SIM and USIM. Convert
> the command into USIM_CMD_GET_RESPONSE for USIM.
Thanks, applied.
> since commit eb324600295 ("Fix switching from EAP-SIM to
> EAP-AKA/AKA'") EAP-SIM is using the USIM if available. This triggers a
> probably ancient bug in scard_gsm_auth(), which results in sending the
> wrong get response command to the USIM. Thus, EAP-SIM stopped to work
> after this change on USIMs that expect the proper command.
Though, I included this to the commit message to make it more helpful in
understand what didn't work and since when.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list