strongswan/src/libstrongswan/asn1
Tobias Brunner a4279fcc38 asn1: Fix a compiler warning with GCC 9.1
Compiling with GCC 9.1, as e.g. happens on AppVeyor, results in the
following warning:

asn1/asn1.c: In function 'asn1_integer':
asn1/asn1.c:871:24: error: '<Ucb40>' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  871 |  len = content.len + ((*content.ptr & 0x80) ? 1 : 0);
      |                        ^~~~~~~~~~~~

Some experiments showed that the problem was the chunk_from_chars()
assignment.  This might be because the temporary chunk_t that was assigned
to the variable was defined in a sub-block, so it might actually be
undefined later when *content.ptr is read.
2019-08-23 09:06:34 +02:00
..
asn1.c asn1: Fix a compiler warning with GCC 9.1 2019-08-23 09:06:34 +02:00
asn1.h Fixed some typos, courtesy of codespell 2018-05-23 16:33:02 +02:00
asn1_parser.c asn1-parser: Fix CHOICE parsing 2017-05-29 11:05:04 +02:00
asn1_parser.h asn1-parser: Fix CHOICE parsing 2017-05-29 11:05:04 +02:00
oid.pl Unify format of HSR copyright statements 2018-05-23 16:32:53 +02:00
oid.txt asn1: Add OIDs for HMAC-based PRFs as defined in RFC 8018 2018-03-07 15:23:03 +01:00