aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-08 09:29:18 +0100
committerBjörn Gustavsson <[email protected]>2013-02-15 15:27:15 +0100
commitd3597d31c3b26a6269ed37b7856425a1d0641a90 (patch)
tree9808c76c40d2f3006e1244bd25ab3470e24b26a3 /lib/asn1/src
parent244b486f73bedbfae83b408d59ddb3b7a095d0b7 (diff)
downloadotp-d3597d31c3b26a6269ed37b7856425a1d0641a90.tar.gz
otp-d3597d31c3b26a6269ed37b7856425a1d0641a90.tar.bz2
otp-d3597d31c3b26a6269ed37b7856425a1d0641a90.zip
BER: Fix broken table constraints inside a SET OF/SEQUENCE OF
Diffstat (limited to 'lib/asn1/src')
-rw-r--r--lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl b/lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl
index e82212f0d8..341a04761b 100644
--- a/lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl
+++ b/lib/asn1/src/asn1ct_constructed_ber_bin_v2.erl
@@ -528,14 +528,7 @@ gen_decode_sof(Erules,TypeName,_InnerTypeName,D) when is_record(D,type) ->
Atom when is_atom(Atom) -> Atom;
_ -> TypeNameSuffix
end,
-%% fix me
- ObjFun =
- case D#type.tablecinf of
- [{objfun,_}|_R] ->
- ", ObjFun";
- _ ->
- []
- end,
+ ObjFun = false,
gen_dec_line(Erules,TypeName,ContName,[],Cont,mandatory,ObjFun),
%% gen_dec_line_sof(Erules,Typename,ContName,Cont,ObjFun),
emit([" || ",{curr,v}," <- ",{curr,tlv},"].",nl,nl,nl]).