mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-11-04 22:39:26 +03:00
cards: make _get_aid case insensitive
There is no need to be case sensitive when the xSIM application name is given as AID. Change-Id: I9944d9180bf1ba35f44f0be2b05bdb725b5b8da9
This commit is contained in:
1 parent
9e42e7ffce
commit
47833bc176
1 file changed
+1
@@ -284,6 +284,7 @@ class SimCard(object):
|
|||||||
# First (known) halves of the U/ISIM AID
|
# First (known) halves of the U/ISIM AID
|
||||||
aid_map["usim"] = "a0000000871002"
|
aid_map["usim"] = "a0000000871002"
|
||||||
aid_map["isim"] = "a0000000871004"
|
aid_map["isim"] = "a0000000871004"
|
||||||
|
adf = adf.lower()
|
||||||
if adf in aid_map:
|
if adf in aid_map:
|
||||||
return aid_map[adf]
|
return aid_map[adf]
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in new issue
Block a user