]> git.ipfire.org Git - thirdparty/strongswan.git/commit
asn1: Return any parameters of algorithmIdentifier structures
authorTobias Brunner <tobias@strongswan.org>
Mon, 4 Oct 2021 10:39:11 +0000 (12:39 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 14 Oct 2021 16:59:07 +0000 (18:59 +0200)
commitf061dedcb70ed88214e730fff842d06e7857b333
tree5e54f344f298324697d03c204dae00288d9a7576
parentdceed8e099c8f9d5606fa7e5a0742fb5e023103b
asn1: Return any parameters of algorithmIdentifier structures

Previously, only parameters of type OID, SEQUENCE and OCTET STRING were
returned (so e.g. random integers could be put in parameters and we
wouldn't know about it).

Log output is basically the same as with asn1_parser_t before, except
that parameters are always dumped (if any), that wasn't the case before
because ASN1_RAW (instead of ASN1_OBJ) was used.
src/libstrongswan/asn1/asn1.c
src/libstrongswan/tests/suites/test_asn1.c