From fbe734e682cc504ea67ecf74cd3c7bdc228b06bb Mon Sep 17 00:00:00 2001 From: tobhe Date: Tue, 15 Mar 2022 13:07:33 +0000 Subject: [PATCH] Fix build after recent IKEv2 message fragment retransmit change. Found by anton@ --- regress/sbin/iked/parser/common.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/regress/sbin/iked/parser/common.c b/regress/sbin/iked/parser/common.c index 8917b7d04bf..79f9478bebd 100644 --- a/regress/sbin/iked/parser/common.c +++ b/regress/sbin/iked/parser/common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: common.c,v 1.11 2021/11/29 15:56:33 tobhe Exp $ */ +/* $OpenBSD: common.c,v 1.12 2022/03/15 13:07:33 tobhe Exp $ */ /* * A bunch of stub functions so we can compile and link ikev2_pld.c * in a standalone program for testing purposes. @@ -208,3 +208,16 @@ void 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) +{ +} + +struct iked_msg_retransmit * +ikev2_msg_lookup(struct iked *env, struct iked_msgqueue *queue, + struct iked_message *msg, uint8_t exchange) +{ + return NULL; +} -- 2.20.1