laforge has submitted this change. (
https://gerrit.osmocom.org/c/onomondo-ipa/+/43059?usp=email )
(
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted
one.
)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(-)
Approvals:
Jenkins Builder: Verified
dexter: Looks good to me, approved
diff --git a/asn1/SGP32Definitions.asn b/asn1/SGP32Definitions.asn
index 8fd0d65..612a83b 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 30be69d..6959be4 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 }
};
--
To view, visit https://gerrit.osmocom.org/c/onomondo-ipa/+/43059?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: onomondo-ipa
Gerrit-Branch: master
Gerrit-Change-Id: I0a9acaba7b706f68bc89bae3dff7d2d0e380e797
Gerrit-Change-Number: 43059
Gerrit-PatchSet: 10
Gerrit-Owner: jolly <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>