asn1c.git branch aper updated. 2ccf6f701de667aee12de4d16a95601ccc58b909

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-commitlog@lists.osmocom.org/.

gitosis at osmocom.org gitosis at osmocom.org
Sat Dec 19 12:36:04 UTC 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Lev Walkin's asn1 compiler".

The branch, aper has been updated
       via  2ccf6f701de667aee12de4d16a95601ccc58b909 (commit)
       via  d02b4a79f4311c3d94dc200392ab37c6aef9fdf0 (commit)
      from  6e00cbce7304a6972e82a12bb5fa82e41fa541be (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cgit.osmocom.org/asn1c/commit/?id=2ccf6f701de667aee12de4d16a95601ccc58b909

commit 2ccf6f701de667aee12de4d16a95601ccc58b909
Author: Harald Welte <laforge at gnumonks.org>
Date:   Sat Dec 19 13:32:58 2015 +0100

    APER: Fix encoding of INTEGER with lower_bound != 0
    
    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.

http://cgit.osmocom.org/asn1c/commit/?id=d02b4a79f4311c3d94dc200392ab37c6aef9fdf0

commit d02b4a79f4311c3d94dc200392ab37c6aef9fdf0
Author: Harald Welte <laforge at gnumonks.org>
Date:   Thu Sep 10 09:31:18 2015 +0200

    prefixing of generated types using a ASN1C_PREFIX environment variable
    
    When generating code for multiple ASN.1 syntaxes that have clashing
    names, we need to add a prefix in order to prevent clashes in the global
    C symbol namespace.  Using the ASN1C_PREFIX environment variable and
    this patch serves as a work-around to that.  All non-basic type names
    as well as references to that type and source code + header file names
    will be pre-fixed accordingly.

-----------------------------------------------------------------------

Summary of changes:
 libasn1compiler/asn1c_misc.c | 35 +++++++++++++++++++++++++++--------
 libasn1compiler/asn1c_misc.h |  1 +
 libasn1fix/asn1fix.c         |  9 +++++++++
 m4/libtool.m4                |  4 ++--
 skeletons/INTEGER.c          | 15 ++++++++-------
 5 files changed, 47 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
Lev Walkin's asn1 compiler



More information about the osmocom-commitlog mailing list