summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTobias Heider <tobhe@cvs.openbsd.org>2022-03-15 13:07:34 +0000
committerTobias Heider <tobhe@cvs.openbsd.org>2022-03-15 13:07:34 +0000
commit1db3c919c83d84c1914ff33397de09cd1f528ce9 (patch)
tree4cc6b89c586038aa89430d9fd9b1411e5eb86dee /regress
parentf7b1f8b0a29969ec8ef64221f101aadb39c80c2e (diff)
Fix build after recent IKEv2 message fragment retransmit change.
Found by anton@
Diffstat (limited to 'regress')
-rw-r--r--regress/sbin/iked/parser/common.c15
1 files changed, 14 insertions, 1 deletions
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;
+}