Depending on the buffer contents, we might be printing binary garbage to
stdout, which can mess up with the terminal state if that happens to be
ANSI control codes.
Change-Id: Iee0059bccccb33bc47a6b066a353b0038a9679a2
Generate and patch them on every build to make sure we use the latest
versions and compile from actual source.
This has the effect of updating the ASN1C code we are using to the
latest version available in the Debian release used.
Change-Id: If48392226e4f783c3a0fb64816e8109f2952c410
Refactor this function from the test case, and from the lnpd mock-test
implementation. This will make it possible to stop exposing ASN1C
internals as part of the public interface, as we do not have any control
over the API/ABI and means we cannot update to newer ASN1C versions w/o
continuously bumping the SONAME.
Change-Id: I6fa0a0e6b4360bebcd4a19c0e38be09cfdee1f2b
- Use built-in rules whenever possible.
- Split between optional and required options in flag variables.
- Refactor tests into a variable.
Change-Id: I1f82648c8b9757fc98acbcc1d8d7157a83f4ec79