diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-08-30 16:01:37 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-08-30 16:01:37 +0200 |
commit | 176f95bb862543085ad667459f4c757b285b972f (patch) | |
tree | 59d4340bc7eac2ca86a4c6c301b97479dec2f803 /lib/asn1/src/asn1rt_per_bin.erl | |
parent | ff83656affde48d373398a670584b9dc0f4e9269 (diff) | |
parent | da477e3fc1bcac8d8afb4d3eef6d250d4eae37e0 (diff) | |
download | otp-176f95bb862543085ad667459f4c757b285b972f.tar.gz otp-176f95bb862543085ad667459f4c757b285b972f.tar.bz2 otp-176f95bb862543085ad667459f4c757b285b972f.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/asn1/src/asn1rt_per_bin.erl')
-rw-r--r-- | lib/asn1/src/asn1rt_per_bin.erl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/asn1/src/asn1rt_per_bin.erl b/lib/asn1/src/asn1rt_per_bin.erl index 85988aa21d..e63920dc4e 100644 --- a/lib/asn1/src/asn1rt_per_bin.erl +++ b/lib/asn1/src/asn1rt_per_bin.erl @@ -803,8 +803,6 @@ decode_unconstrained_number(Bytes) -> {Ints,Bytes3} = getoctets_as_list(Bytes2,Len), {dec_integer(Ints),Bytes3}. -dec_pos_integer(Ints) -> - decpint(Ints, 8 * (length(Ints) - 1)). dec_integer(Ints) when hd(Ints) band 255 =< 127 -> %% Positive number decpint(Ints, 8 * (length(Ints) - 1)); dec_integer(Ints) -> %% Negative |