asn1-parser: Fix CHOICE parsing
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 5 May 2017 07:01:08 +0000 (09:01 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 29 May 2017 09:05:04 +0000 (11:05 +0200)
commit407fcca200fdf6a41a04ac0885a770b6b53c5d23
tree72a9435e8a2aeec33b57a9f776216ff571bba699
parent6681d98d18d24b31410fc12c3d61f150107481b3
asn1-parser: Fix CHOICE parsing

Fixes: CVE-2017-9023
src/libstrongswan/asn1/asn1_parser.c
src/libstrongswan/asn1/asn1_parser.h
src/libstrongswan/plugins/x509/x509_cert.c