aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-04-30Fix a bug in asn1c PER code when skipping unknown extensionaperroux1-1/+1
Basically when skiping an unknown extension, asn1c did read 24 bits per 24 bits and later on failed if the remaining bits (up to 23) were superior to 8. The patch reads 1 bit per 1 bit. (imported from openairinterface5g/openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0)
2016-04-30fix APER encoding of integer (backport from openairinterface)Harald Welte1-5/+22
The number of bytes used by an APER encoded integer depends on its actually encoded value, not on the maximum value that could be possibly encoded. The old code would e.g. always use 24 bits if the maximum encoded value would require 24 bits. To give an example RANAP MaxBitrate (INTEER 1 .. 16000000) value 64000 was previously encoded as "80 00 f9 ff", while it is now the correct representation "40 f9 ff". Thanks to Dieter Spaar for detecting this problem in the Osmo-IUH generated RANAP output, and thanks to openairinterface for fixing the bug in their code (sadly not contributed to upstream asn1c, though).
2016-01-04APER: Fix encoding of INTEGER with lower_bound != 0Harald Welte1-7/+8
When encoding an INTEGER, we need to subtract the lower bound before encoding the value. This is specified in Clause 10.5.7.x of X.691. The decoder already does this correct, but the encoder was wrong.
2015-08-31skeletons: Fix compiler warnings introduced by Eurecom aper patchHarald Welte2-15/+20
... some of which is related to the recent 'constification' of mainline asn1c.
2015-08-31skeletons: Print member's name in CHOICE printSylvain Munaut1-5/+3
Sometimes, if the choice is a null or integer or ... it's not easy to know what has really been selected without the choice member name. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-08-31skeletons: Add verbose pretty print for enumerated typesSylvain Munaut2-1/+29
This is just much easier to read when reading the text dumps.
2015-08-30aper: fixup after portHarald Welte1-2/+4
2015-08-30Support automake-1.15Harald Welte1-0/+1
Without this, autoreconf with automake-1.15 fails due to the "-Werror"
2015-08-30port/merge Eurecom APER support from OPENAIRMMEHarald Welte63-48/+2741
Eurecom has developed APER support for asn1c as part of the OPENAIRMME softare (a LTE MME). This is too important to let it bit-rout out of asn1c. Let's forward-port and merge it.
2015-04-27?= was confusing some environmentsLev Walkin1-1/+1
2015-04-10use AS_HELP_STRING for formatting, etcLev Walkin1-11/+13
2014-10-26formatting and EnglishLev Walkin1-0/+0
2014-10-26englishLev Walkin1-10/+11
2014-10-26formatting and EnglishLev Walkin2-37/+36
2014-10-26specify version globallyLev Walkin2-5/+8
2014-10-26some english fixesLev Walkin1-7/+5
2014-10-23add -fincludes-quoted and -fline-refs into manual pageLev Walkin1-0/+6
2014-10-23man page formattingLev Walkin3-118/+116
2014-10-23remove capitalizationLev Walkin3-3/+3
2014-10-12no need in ENUMERATED fileLev Walkin1-2/+0
2014-10-12issue/32 acknowledgedLev Walkin1-0/+1
2014-10-13useless -all-staticLev Walkin3-3/+0
2014-10-12issue/32 fchmod() does not respect umaskLev Walkin1-1/+12
2014-10-12intentionalLev Walkin1-1/+1
2014-10-12Merge https://github.com/vlm/asn1c/pull/37Lev Walkin3-5/+2
2014-10-12ENUMERATED is no longer needed forLDAP3 and MEGACOLev Walkin2-4/+0
2014-10-12Merge branch 'master' of https://github.com/wiml/asn1c into wiml-masterLev Walkin1-1/+2
2014-10-12formatted changelogLev Walkin1-1/+2
2014-10-12Makefile.am is not needed hereLev Walkin1-10/+0
2014-10-12Merged http://github.com/vlm/asn1c/pull/31: compiling on Win32.Lev Walkin5-0/+22
2014-10-12merged patch #31Lev Walkin5-0/+22
2014-10-12regenerated tests based on Wim L patchLev Walkin52-560/+561
2014-10-12Merge pull request #46 from wiml/constifyLev Walkin47-140/+139
Move as much data as possible into non-writable text by declaring it const
2014-10-12removed intermediate filesLev Walkin8-15491/+2
2014-10-12README.md is not automatically distributedLev Walkin1-1/+1
2014-10-12wordingLev Walkin1-1/+1
2014-10-12relative linksLev Walkin1-4/+4
2014-10-1280 columnLev Walkin1-3/+4
2014-10-12do not shoutLev Walkin1-3/+6
2014-10-12docs updated; use markdownLev Walkin4-31/+29
2014-10-12copyright yearsLev Walkin1-27/+23
2014-10-12copyright yearsLev Walkin2-3/+3
2014-10-12tabs -> spacesLev Walkin1-470/+470
2014-10-12better quick start installation doxLev Walkin1-9/+29
2014-10-12removed autotools intermediate files from source code; use autoreconf -iv.Lev Walkin19-24934/+19
2014-09-17check if timegm is present before emulatingLev Walkin5-11/+28
2014-09-17version bumpLev Walkin2-1/+3
2014-09-170.9.27Lev Walkin1-1/+1
2014-09-17conditional debugLev Walkin1-1/+3
2014-09-17limit debug output logLev Walkin11-20/+29