Make sure cert_type is not 0 to prevent leak of certid->id_buf.
authortobhe <tobhe@openbsd.org>
Sat, 2 Sep 2023 18:36:30 +0000 (18:36 +0000)
committertobhe <tobhe@openbsd.org>
Sat, 2 Sep 2023 18:36:30 +0000 (18:36 +0000)
commit705c0eb9fc946a90eca4826e53d0efa2d1bca893
tree8383ad3f0b0f48d5897040e9e93b81fad30686a3
parentf357fd059827b5a2e88ea0c11e097603771dc5f6
Make sure cert_type is not 0 to prevent leak of certid->id_buf.

Found by David Linder
ok patrick@
sbin/iked/ikev2_pld.c