test_cmp_ctx: Avoid using empty X509 with i2d
authorTomas Mraz <tomas@openssl.org>
Fri, 9 Jul 2021 13:48:02 +0000 (15:48 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 10 Jul 2021 15:05:07 +0000 (17:05 +0200)
commit6bfd3e51c04faa97ed98f38e35bd9bb5294b9070
tree38419eb0c0d0c5004eede5f457b6214316e74f04
parent50d0a51d6dc83815a6fca5c00c711ffcf407a214
test_cmp_ctx: Avoid using empty X509 with i2d

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/16036)
test/cmp_ctx_test.c
test/recipes/65-test_cmp_ctx.t