fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/42373?usp=email )


Change subject: global_platform: fix typo in SupportedTlsCipherSuitesForScp81
......................................................................

global_platform: fix typo in SupportedTlsCipherSuitesForScp81

The attribute name is misspelled.  The BER-TLV infrastructure looks
for `_construct`; this typo means `SupportedTlsCipherSuitesForScp81`
will never decode its content.

Change-Id: I0f637951b0eeb7eca2a8b543baa737f216a935ed
---
M pySim/global_platform/__init__.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/73/42373/1

diff --git a/pySim/global_platform/__init__.py 
b/pySim/global_platform/__init__.py
index 1c0d521..6bdb30d 100644
--- a/pySim/global_platform/__init__.py
+++ b/pySim/global_platform/__init__.py
@@ -276,7 +276,7 @@
 class SupportedKeysForScp03(BER_TLV_IE, tag=0x82):
     _construct = FlagsEnum(Byte, aes128=0x01, aes192=0x02, aes256=0x04)
 class SupportedTlsCipherSuitesForScp81(BER_TLV_IE, tag=0x83):
-    _consuruct = GreedyRange(Int16ub)
+    _construct = GreedyRange(Int16ub)
 class ScpInformation(BER_TLV_IE, tag=0xa0, nested=[ScpType, 
ListOfSupportedOptions, SupportedKeysForScp03,
                                                    
SupportedTlsCipherSuitesForScp81]):
     pass

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/42373?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I0f637951b0eeb7eca2a8b543baa737f216a935ed
Gerrit-Change-Number: 42373
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>

Reply via email to