diff options
author | Björn Gustavsson <[email protected]> | 2012-12-22 06:48:01 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-22 19:20:13 +0100 |
commit | 34baa02a2c41cfbc8c0f53da93157ec28e0c9d96 (patch) | |
tree | d868c1dfa8ff78e22fe2f7d40f4e001d84cd97b9 /make/emd2exml.in | |
parent | 76ad80f52981449af3c79fdf5b298e4c8d817788 (diff) | |
download | otp-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 'make/emd2exml.in')
0 files changed, 0 insertions, 0 deletions