Index | Thread | Search

From:
hshoexer <hshoexer@yerbouti.franken.de>
Subject:
isakmpd regress: Define variable int iked_mode
To:
tech@openbsd.org
Date:
Tue, 17 Nov 2026 12:04:12 +0100

Download raw body.

Thread
Hi,

noticed by bluhm@ isakmpd regression tests fail due to an undefined
symbol.  Thus add missing int iked_mode.

ok?

Take care,
HJ.
----
isakmpd regress: Define variable int iked_mode
    
isakmpd/conf.c now references iked_mode.  Thus define that variable.

diff --git a/regress/sbin/isakmpd/common/monitor.c b/regress/sbin/isakmpd/common/monitor.c
index 281c08697fe..8247c31eaa3 100644
--- a/regress/sbin/isakmpd/common/monitor.c
+++ b/regress/sbin/isakmpd/common/monitor.c
@@ -6,6 +6,8 @@
 
 #include <sys/types.h>
 
+int iked_mode = 0;
+
 int
 monitor_open(const char *path, int flags, mode_t mode)
 {