aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/asn1ct_gen_per_rt2ct.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-28 08:52:02 +0100
committerBjörn Gustavsson <[email protected]>2013-05-31 14:52:16 +0200
commit649114be27c1893bb1624ec02e2948ae4a7332c7 (patch)
treefada5161ecb53737fe405fed771a0a71510aea59 /lib/asn1/src/asn1ct_gen_per_rt2ct.erl
parent1a891ebb4644ed7db9729b1659a21553d3431bfd (diff)
downloadotp-649114be27c1893bb1624ec02e2948ae4a7332c7.tar.gz
otp-649114be27c1893bb1624ec02e2948ae4a7332c7.tar.bz2
otp-649114be27c1893bb1624ec02e2948ae4a7332c7.zip
PER: Eliminate useless argument for encode_octet_string()
For what seems to be historical reasons, asn1_rtt_per:encode_octet_string/3 has an ExtensionMarker argument that is no longer used. The extension mark (if any) is included in the constraints argument.
Diffstat (limited to 'lib/asn1/src/asn1ct_gen_per_rt2ct.erl')
-rw-r--r--lib/asn1/src/asn1ct_gen_per_rt2ct.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_gen_per_rt2ct.erl b/lib/asn1/src/asn1ct_gen_per_rt2ct.erl
index b0b0b37d47..4eddba3150 100644
--- a/lib/asn1/src/asn1ct_gen_per_rt2ct.erl
+++ b/lib/asn1/src/asn1ct_gen_per_rt2ct.erl
@@ -317,7 +317,7 @@ emit_enc_octet_string(Erules, Constraint, Value) ->
" end"]);
C ->
call(Erules, encode_octet_string,
- [{asis,C},false,Value])
+ [{asis,C},Value])
end.
emit_enc_integer_case(Value) ->