diff --git a/regress/sbin/iked/parser/common.c b/regress/sbin/iked/parser/common.c index 84bc3ce136d..6aa16aefc51 100644 --- a/regress/sbin/iked/parser/common.c +++ b/regress/sbin/iked/parser/common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: common.c,v 1.13 2022/12/03 22:34:35 tobhe Exp $ */ +/* $OpenBSD: common.c,v 1.14 2026/04/01 18:58:15 tobhe Exp $ */ /* * A bunch of stub functions so we can compile and link ikev2_pld.c * in a standalone program for testing purposes. @@ -210,8 +210,7 @@ ikev2_ike_sa_setreason(struct iked_sa *sa, char *r) } void -ikev2_msg_dispose(struct iked *env, struct iked_msgqueue *queue, - struct iked_msg_retransmit *mr) +ikev2_msg_flushqueue(struct iked *env, struct iked_msgqueue *queue) { } diff --git a/sbin/iked/ikev2_pld.c b/sbin/iked/ikev2_pld.c index 99db645ac99..378fdaf11c3 100644 --- a/sbin/iked/ikev2_pld.c +++ b/sbin/iked/ikev2_pld.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ikev2_pld.c,v 1.137 2026/04/01 18:43:20 tobhe Exp $ */ +/* $OpenBSD: ikev2_pld.c,v 1.138 2026/04/01 18:58:15 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider @@ -1797,9 +1797,7 @@ ikev2_frags_reassemble(struct iked *env, struct ikev2_payload *pld, /* Drop the original request's packets from the retransmit queue */ if (msg->msg_response) - ikev2_msg_dispose(env, &msg->msg_sa->sa_requests, - ikev2_msg_lookup(env, &msg->msg_sa->sa_requests, msg, - msg->msg_exchange)); + ikev2_msg_flushqueue(env, &msg->msg_sa->sa_requests); /* * Parse decrypted payload