lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-iuh/+/40843?usp=email )
Change subject: move talloc_asn1_ctx into iu_helpers ......................................................................
move talloc_asn1_ctx into iu_helpers
In preparation to remove iu_client.
Related: OS#5487 Change-Id: I79fe6d3e3ac92df70ec536d85d9cf1434252ba8c --- M src/iu_client.c M src/iu_helpers.c 2 files changed, 2 insertions(+), 1 deletion(-)
Approvals: daniel: Looks good to me, but someone else must approve Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/src/iu_client.c b/src/iu_client.c index e1b7af3..e31c898 100644 --- a/src/iu_client.c +++ b/src/iu_client.c @@ -80,7 +80,6 @@ };
void *talloc_iu_ctx; -void *talloc_asn1_ctx;
/* Implement the extern asn_debug from libasn1c to indicate whether to print * asn.1 debug messages (see libasn1c). */ diff --git a/src/iu_helpers.c b/src/iu_helpers.c index 5c7ff31..27e6a25 100644 --- a/src/iu_helpers.c +++ b/src/iu_helpers.c @@ -31,6 +31,8 @@ #include <osmocom/ranap/RANAP_TransportLayerAddress.h> #include <osmocom/ranap/RANAP_TransportLayerInformation.h>
+void *talloc_asn1_ctx; + /* decode a BCD-string as used inside ASN.1 encoded Iu interface protocols */ int ranap_bcd_decode(char *out, size_t out_len, const uint8_t *in, size_t in_len) {