summaryrefslogtreecommitdiff
path: root/regress/sbin
diff options
context:
space:
mode:
authortobhe <tobhe@cvs.openbsd.org>2019-08-14 08:03:43 +0000
committertobhe <tobhe@cvs.openbsd.org>2019-08-14 08:03:43 +0000
commit35c039e386afcb85272e0bc991822d6f56dfb615 (patch)
treeea8f0391f3a33f605b8b799ba86e07972cffe23b /regress/sbin
parent0d3964c58f5ad6c314f63f9be1485f21f2f9af61 (diff)
Add ikev2_ikesa_info dummy definition for parser test.
Diffstat (limited to 'regress/sbin')
-rw-r--r--regress/sbin/iked/parser/common.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/sbin/iked/parser/common.c b/regress/sbin/iked/parser/common.c
index b0066e41683..5ffe125e5c5 100644
--- a/regress/sbin/iked/parser/common.c
+++ b/regress/sbin/iked/parser/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.2 2019/05/11 16:30:23 patrick Exp $ */
+/* $OpenBSD: common.c,v 1.3 2019/08/14 08:03:42 tobhe Exp $ */
/*
* A bunch of stub functions so we can compile and link ikev2_pld.c
* in a standalone program for testing purposes.
@@ -76,6 +76,12 @@ ikev2_ikesa_recv_delete(struct iked *env, struct iked_sa *sa)
{
}
+const char *
+ikev2_ikesa_info(uint64_t spi, const char *msg)
+{
+ return "";
+}
+
struct iked_childsa *
childsa_lookup(struct iked_sa *a, u_int64_t b, u_int8_t c)
{