aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/asn1/c1222/c1222.asn16
-rw-r--r--epan/dissectors/packet-c1222.c8
2 files changed, 12 insertions, 12 deletions
diff --git a/epan/dissectors/asn1/c1222/c1222.asn b/epan/dissectors/asn1/c1222/c1222.asn
index 39ac7756a3..a92781ce04 100644
--- a/epan/dissectors/asn1/c1222/c1222.asn
+++ b/epan/dissectors/asn1/c1222/c1222.asn
@@ -33,19 +33,19 @@ AE-qualifier ::= INTEGER
Calling-AE-qualifier ::= AE-qualifier
Mechanism-name ::= OBJECT IDENTIFIER
--- this is all of the authentication mechanism related stuff
+-- this is all of the authentication mechanism related stuff
Calling-authentication-value ::= [2] IMPLICIT SEQUENCE {
calling-authentication-value-indirect INTEGER DEFAULT 0,
calling-authentication-value-encoding Authentication-value-encoding
}
-Authentication-value-encoding ::= CHOICE {
- calling-authentication-value-single-asn1 [0] Calling-authentication-value-single-asn1,
+Authentication-value-encoding ::= CHOICE {
+ calling-authentication-value-single-asn1 [0] Calling-authentication-value-single-asn1,
calling-authentication-value-octet-aligned [1] IMPLICIT OCTET STRING
}
-Calling-authentication-value-single-asn1 ::= CHOICE {
+Calling-authentication-value-single-asn1 ::= CHOICE {
calling-authentication-value-c1222 Calling-authentication-value-c1222,
calling-authentication-value-c1221 Calling-authentication-value-c1221
}
@@ -60,13 +60,13 @@ Iv-element ::= OCTET STRING (SIZE(4))
Calling-authentication-value-c1221 ::= [0] IMPLICIT CHOICE {
c1221-auth-identification [0] IMPLICIT OCTET STRING (SIZE(3|5..259)),
- c1221-auth-request [0] IMPLICIT OCTET STRING (SIZE(1..255)),
- c1221-auth-response [0] IMPLICIT OCTET STRING (SIZE(0|1..255)),
+ c1221-auth-request [1] IMPLICIT OCTET STRING (SIZE(1..255)),
+ c1221-auth-response [2] IMPLICIT OCTET STRING (SIZE(0|1..255)),
...
}
--- now the user information (EPSEM)
-User-information ::= EXTERNAL
+-- now the user information (EPSEM)
+User-information ::= EXTERNAL
--User-information EPSEM-TYPE ::= { ... }
diff --git a/epan/dissectors/packet-c1222.c b/epan/dissectors/packet-c1222.c
index 0d9f2aca5e..e15fd650eb 100644
--- a/epan/dissectors/packet-c1222.c
+++ b/epan/dissectors/packet-c1222.c
@@ -1368,15 +1368,15 @@ dissect_c1222_OCTET_STRING_SIZE_CONSTR002(gboolean implicit_tag _U_, tvbuff_t *t
static const value_string c1222_Calling_authentication_value_c1221_U_vals[] = {
{ 0, "c1221-auth-identification" },
- { 0, "c1221-auth-request" },
- { 0, "c1221-auth-response" },
+ { 1, "c1221-auth-request" },
+ { 2, "c1221-auth-response" },
{ 0, NULL }
};
static const ber_choice_t Calling_authentication_value_c1221_U_choice[] = {
{ 0, &hf_c1222_c1221_auth_identification, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_c1222_OCTET_STRING_SIZE_CONSTR001 },
- { 0, &hf_c1222_c1221_auth_request, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_c1222_OCTET_STRING_SIZE_1_255 },
- { 0, &hf_c1222_c1221_auth_response, BER_CLASS_CON, 0, BER_FLAGS_IMPLTAG, dissect_c1222_OCTET_STRING_SIZE_CONSTR002 },
+ { 1, &hf_c1222_c1221_auth_request, BER_CLASS_CON, 1, BER_FLAGS_IMPLTAG, dissect_c1222_OCTET_STRING_SIZE_1_255 },
+ { 2, &hf_c1222_c1221_auth_response, BER_CLASS_CON, 2, BER_FLAGS_IMPLTAG, dissect_c1222_OCTET_STRING_SIZE_CONSTR002 },
{ 0, NULL, 0, 0, 0, NULL }
};