ARA-M: fix encoding of the PkgRefDO when using aram_store_ref_ar_do

The command wasn't used the correct dict to allow the encoders to work.

Related: OS#6121
Change-Id: Ic2bc179b413a6b139e07e3e55b93ff921cb020a9
This commit is contained in:
Alexander Couzens 2023-07-29 02:29:08 +02:00 committed by laforge
parent 760e421be5
commit 2dd59edd74
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ class ADF_ARAM(CardADF):
ref_do_content += [{'aid_ref_empty_do': None}]
ref_do_content += [{'dev_app_id_ref_do': opts.device_app_id}]
if opts.pkg_ref:
ref_do_content += [{'pkg_ref_do': opts.pkg_ref}]
ref_do_content += [{'pkg_ref_do': {'package_name_string': opts.pkg_ref}}]
# AR
ar_do_content = []
if opts.apdu_never: