EAP-SIM DB: Store permanent username as string in SQLite DB
authorJouni Malinen <j@w1.fi>
Sat, 1 Sep 2012 18:22:15 +0000 (21:22 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 1 Sep 2012 18:22:15 +0000 (21:22 +0300)
commit6d49d9ecb8f523b7de9f76437309b315ba6f8239
tree45e906e5e0b8d71418ec3078a798d1b24dda63d7
parent3961dffc13e5ce3dca46d2d81955e27285609dcc
EAP-SIM DB: Store permanent username as string in SQLite DB

Store permanent username (i.e., including prefix character) instead of
IMSI in the SQLite DB. Convert the string to a string since the EAP-AKA
prefix can start with zero. This cleans up the field names since the
value was already with the prefix included instead of just IMSI. In
addition, this explicitly removes some theoretical cases where the
different identity types could have been mixed.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/eap_server/eap_sim_db.c