Fix test/asn1_encode_test.c to not use ASN1_FBOOLEAN
authorRichard Levitte <levitte@openssl.org>
Fri, 9 Jul 2021 06:31:24 +0000 (08:31 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 10 Jul 2021 10:05:51 +0000 (12:05 +0200)
commit5434acb6c4d56507d761b28f7e142ccab808a8fa
tree2b3f41e73d9de70e25e45c35ed71769ebf4e048f
parent006906cddda37e24a66443199444ef4476697477
Fix test/asn1_encode_test.c to not use ASN1_FBOOLEAN

ASN1_FBOOLEAN is designed to use as a default for optional ASN1 items.
This test program used it for non-optional items, which doesn't encode
well.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16027)
test/asn1_encode_test.c