Fix ASN1_TYPE_get/set with type=V_ASN1_BOOLEAN
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 1 Jul 2019 07:06:02 +0000 (09:06 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 2 Jul 2019 14:22:02 +0000 (16:22 +0200)
commit6335f837cfa7eaf1202f2557bf2ba148987226e7
treec8e0f3b7774eb4491a4041ca9e4d17076f3168ab
parentc2969ff6e70b10f71fbd97c1d0b0cffc92bd69df
Fix ASN1_TYPE_get/set with type=V_ASN1_BOOLEAN

BOOLEAN does not have valid data in the value.ptr member,
thus don't use it here.

Fixes #9276

[extended tests]

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9278)
crypto/asn1/a_type.c