aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_check.erl
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2010-10-04 13:07:28 +0200
committerErlang/OTP <[email protected]>2010-10-04 13:07:28 +0200
commitc8122ff35f5e0cc4af7f8ea7fd63af126f245ffd (patch)
tree23b95141897fc637234487c0926a83b230b58263 /lib/asn1/src/asn1ct_check.erl
parent5ddf44bb91540fd88e604f077d71482c40185cd8 (diff)
parentc6f303fba85322f74a4e8165046924ebf2fd1eed (diff)
downloadotp-c8122ff35f5e0cc4af7f8ea7fd63af126f245ffd.tar.gz
otp-c8122ff35f5e0cc4af7f8ea7fd63af126f245ffd.tar.bz2
otp-c8122ff35f5e0cc4af7f8ea7fd63af126f245ffd.zip
Merge branch 'kenneth/asn1/enc_extaddgrp/OTP-8866' into maint-r13
* kenneth/asn1/enc_extaddgrp/OTP-8866: Add additional test to cover this correction correct the encoding of ExtensionAdditionGroup temp Add support for ExtensionAdditionGroup notation in nested types as well
Diffstat (limited to 'lib/asn1/src/asn1ct_check.erl')
-rw-r--r--lib/asn1/src/asn1ct_check.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl
index 1c9f2c759a..7cd29623c1 100644
--- a/lib/asn1/src/asn1ct_check.erl
+++ b/lib/asn1/src/asn1ct_check.erl
@@ -6408,6 +6408,12 @@ any_component_relation(S,Type,CNames,NamePath,Acc) when is_record(Type,type) ->
[]
end,
InnerAcc ++ CRelPath ++ Acc;
+%% Just skip the markers for ExtensionAdditionGroup start and end
+%% in this function
+any_component_relation(S,[#'ExtensionAdditionGroup'{}|Cs],CNames,NamePath,Acc) ->
+ any_component_relation(S,Cs,CNames,NamePath,Acc);
+any_component_relation(S,['ExtensionAdditionGroupEnd'|Cs],CNames,NamePath,Acc) ->
+ any_component_relation(S,Cs,CNames,NamePath,Acc);
any_component_relation(_,[],_,_,Acc) ->
Acc.