Commit Graph

6 Commits

Author SHA1 Message Date
Neels Hofmeyr 551e9c94b3 fix compiler warning: drop dead code from BIT_STRING_fromBuf()
The warning is, on FreeBSD,

  CC       asn1helpers.lo
asn1helpers.c:68:10: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare]
        if (len < 0)
            ~~~ ^ ~

Change-Id: I80867da697d744d7ef4d70c8f24031f5781fb11a
2017-10-28 15:09:05 +00:00
Harald Welte c8512b1510 Re-license asn1helper.c under identical license as upstream
asn1helpers.c originally existed in the repository of an application
(osmo-hnbgw, IIRC), and hence was under AGPLv3.  When moving it to
this repository, it should have been relicensed but wasn't.  The
intention was never to "contaminate" (lib)asn1c with AGPLv3 code.

Change-Id: I8e714d4c51d771b1eabec7aa06e7daae73f48b15
2017-08-14 06:14:38 +00:00
Holger Hans Peter Freyther f3c3049e75 misc: Replace libosmocore with talloc
The libosmocore depedency is used for talloc and OSMO_ASSERT.
Reduce the depedencies by using libtalloc directly and replace
the ASSERT with a local one (without backtrace support).
2016-04-05 16:43:39 +02:00
Neels Hofmeyr 578ecbbf62 cosmetic: cast to avoid compiler warning 2016-02-16 12:23:23 +01:00
Daniel Willmann 95a112f75a Add helper functions for uint32_t in octet strings 2016-02-16 12:10:36 +01:00
Harald Welte 2d4f2bd91c import ans1helpers.[ch] (originally part of osmo-iuh) 2016-01-03 17:14:54 +01:00