jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43059?usp=email )
Change subject: V1.2: Add new causes to initiateAuthenticationErrorEsipa ......................................................................
V1.2: Add new causes to initiateAuthenticationErrorEsipa
Reference: SGP.32 Section 6.3.2.1
Related: SYS#8101 Change-Id: I0a9acaba7b706f68bc89bae3dff7d2d0e380e797 --- M asn1/SGP32Definitions.asn M src/ipa/libasn/InitiateAuthenticationResponseEsipa.h M src/ipa/libipa/esipa_init_auth.c 3 files changed, 13 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/onomondo-ipa refs/changes/59/43059/1
diff --git a/asn1/SGP32Definitions.asn b/asn1/SGP32Definitions.asn index 0f6b892..83fcf91 100644 --- a/asn1/SGP32Definitions.asn +++ b/asn1/SGP32Definitions.asn @@ -876,12 +876,14 @@ InitiateAuthenticationResponseEsipa ::= [57] CHOICE { -- Tag 'BF39' initiateAuthenticationOkEsipa InitiateAuthenticationOkEsipa, initiateAuthenticationErrorEsipa INTEGER { - invalidDpAddress(1), - euiccVersionNotSupportedByDp(2), - ciPKIdNotSupported(3), - smdpAddressMismatch(50), - smdpOidMismatch(51) -} + invalidDpAddress(1), + euiccVersionNotSupportedByDp(2), + ciPKIdNotSupported(3), + smdpAddressMismatch(50), + smdpOidMismatch(51), + invalidEimTransactionId(52), + undefinedError(127) + } } InitiateAuthenticationOkEsipa ::= SEQUENCE { transactionId [0] TransactionId OPTIONAL, -- The TransactionID generated by the SM-DP+ diff --git a/src/ipa/libasn/InitiateAuthenticationResponseEsipa.h b/src/ipa/libasn/InitiateAuthenticationResponseEsipa.h index 2e56766..c3da3ef 100644 --- a/src/ipa/libasn/InitiateAuthenticationResponseEsipa.h +++ b/src/ipa/libasn/InitiateAuthenticationResponseEsipa.h @@ -33,7 +33,9 @@ InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_euiccVersionNotSupportedByDp = 2, InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_ciPKIdNotSupported = 3, InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpAddressMismatch = 50, - InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpOidMismatch = 51 + InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpOidMismatch = 51, + InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_invalidEimTransactionId = 52, + InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_undefinedError = 127 } e_InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa;
/* InitiateAuthenticationResponseEsipa */ diff --git a/src/ipa/libipa/esipa_init_auth.c b/src/ipa/libipa/esipa_init_auth.c index 2e8532c..2ce2d2f 100644 --- a/src/ipa/libipa/esipa_init_auth.c +++ b/src/ipa/libipa/esipa_init_auth.c @@ -32,6 +32,8 @@ { InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpAddressMismatch, "smdpAddressMismatch" }, { InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_smdpOidMismatch, "smdpOidMismatch" }, + { InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_invalidEimTransactionId, "invalidEimTransactionId" }, + { InitiateAuthenticationResponseEsipa__initiateAuthenticationErrorEsipa_undefinedError, "undefinedError" }, { 0, NULL } };