aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
diff options
context:
space:
mode:
authorKenneth Lundin <[email protected]>2010-10-01 10:52:53 +0200
committerKenneth Lundin <[email protected]>2010-10-04 12:43:00 +0200
commitc6f303fba85322f74a4e8165046924ebf2fd1eed (patch)
tree23b95141897fc637234487c0926a83b230b58263 /lib/asn1/src
parent8afb42e86d7e4e5d5afcfe2545a7785697747493 (diff)
downloadotp-c6f303fba85322f74a4e8165046924ebf2fd1eed.tar.gz
otp-c6f303fba85322f74a4e8165046924ebf2fd1eed.tar.bz2
otp-c6f303fba85322f74a4e8165046924ebf2fd1eed.zip
Add additional test to cover this correction
Diffstat (limited to 'lib/asn1/src')
-rw-r--r--lib/asn1/src/asn1ct_constructed_per.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/src/asn1ct_constructed_per.erl b/lib/asn1/src/asn1ct_constructed_per.erl
index 5184986e65..cce6eb9831 100644
--- a/lib/asn1/src/asn1ct_constructed_per.erl
+++ b/lib/asn1/src/asn1ct_constructed_per.erl
@@ -617,8 +617,8 @@ extgroup_pos_and_length(CompList) when is_list(CompList) ->
noextgroup;
extgroup_pos_and_length({RootList,ExtList}) ->
extgrouppos(ExtList,length(RootList)+1);
-extgroup_pos_and_length({Rl1,Ext,Rl2}) ->
- extgrouppos(Ext,length(Rl1)+length(Rl2)+1).
+extgroup_pos_and_length({Rl1,Ext,_Rl2}) ->
+ extgrouppos(Ext,length(Rl1)+1).
extgrouppos([{'ExtensionAdditionGroup',_Num}|T],Pos) ->
extgrouppos(T,Pos,0);