aboutsummaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-12-22 06:48:01 +0100
committerBjörn Gustavsson <[email protected]>2013-01-22 19:20:13 +0100
commit34baa02a2c41cfbc8c0f53da93157ec28e0c9d96 (patch)
treed868c1dfa8ff78e22fe2f7d40f4e001d84cd97b9 /aclocal.m4
parent76ad80f52981449af3c79fdf5b298e4c8d817788 (diff)
downloadotp-34baa02a2c41cfbc8c0f53da93157ec28e0c9d96.tar.gz
otp-34baa02a2c41cfbc8c0f53da93157ec28e0c9d96.tar.bz2
otp-34baa02a2c41cfbc8c0f53da93157ec28e0c9d96.zip
BER run-time: Refactor decoding of string data types
In the BER run-time code (asn1rtt_ber), there is a general function for decoding a string: decode_restricted_string(Tlv, Range, StringType, TagsIn) But the StringType argument is not important. It is only used internally in asn1rtt_ber to distinguish universal strings and BMP strings from other strings. By slightly refactoring the string decoding code, we can eliminate the StringType argument and a subsequent run-time test on the string type. That will slightly reduce code size, slightly increase speed, and eliminate Dialyzer warnings.
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions