Fix DH group lookup when checking if PFS is required. Compare ID
authortobhe <tobhe@openbsd.org>
Mon, 24 Oct 2022 15:52:39 +0000 (15:52 +0000)
committertobhe <tobhe@openbsd.org>
Mon, 24 Oct 2022 15:52:39 +0000 (15:52 +0000)
commitee76753a6794a0b8111530fafcbc64b98017da8a
treef01d3efea8219332b25aef0ccf3040621546fa1c
parent214e94d3085276f4e5c6b416bfd54b5d50a7bf91
Fix DH group lookup when checking if PFS is required. Compare ID
directly instead of calling group_get() and leaking the result.

ok markus@
sbin/iked/ikev2.c