aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-04-02 08:13:32 +0200
committerBjörn Gustavsson <[email protected]>2013-04-03 16:38:31 +0200
commit45e356fb7b5d381a6e3c9ec83bf20fe9cefe8e4b (patch)
treea99935a0f4177b4871eed258d8d5ce44354f1c58 /lib/asn1/src
parent98bad864871eada14c948d27be9998bed36e2f50 (diff)
downloadotp-45e356fb7b5d381a6e3c9ec83bf20fe9cefe8e4b.tar.gz
otp-45e356fb7b5d381a6e3c9ec83bf20fe9cefe8e4b.tar.bz2
otp-45e356fb7b5d381a6e3c9ec83bf20fe9cefe8e4b.zip
Don't lose the extension mark for object set parameters
When an object set is an actual parameter, the extension marker for the object set could get lost.
Diffstat (limited to 'lib/asn1/src')
-rw-r--r--lib/asn1/src/asn1ct_check.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/src/asn1ct_check.erl b/lib/asn1/src/asn1ct_check.erl
index 59e82b7a57..2b48c62ac9 100644
--- a/lib/asn1/src/asn1ct_check.erl
+++ b/lib/asn1/src/asn1ct_check.erl
@@ -4026,8 +4026,8 @@ categorize(S,value,Type,Value) ->
[#valuedef{type=Type,value=Value,module=S#state.mname}].
-parse_objectset({valueset,T=#type{}}) ->
- [T];
+parse_objectset({valueset,#type{def=#'Externaltypereference'{}=Ref}}) ->
+ Ref;
parse_objectset({valueset,Set}) ->
Set;
parse_objectset(#type{def=Ref}) when is_record(Ref,'Externaltypereference') ->