summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-26 22:30:59 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-08-26 22:30:59 +0000
commit4d63c72f0e0ee5af08cb35c61e43284f341833e1 (patch)
tree715fe228ce17ef552d7220aaf319ab25a00233a9 /sbin
parentae165cea910737d35809f45b764d68aa0c929b0e (diff)
Merge with EOM 1.18
author: niklas Support dynamic loading of libkeynote too. Build isakmpd static by default. Stylistic cleanup of keynote policy code. Correct some libcrypto calls. author: niklas Add support for dynamic loading of optional facilities, libcrypto first.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/isakmpd/init.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/sbin/isakmpd/init.c b/sbin/isakmpd/init.c
index 94d7a22917e..5f29c874257 100644
--- a/sbin/isakmpd/init.c
+++ b/sbin/isakmpd/init.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: init.c,v 1.9 1999/07/17 21:54:39 niklas Exp $ */
-/* $EOM: init.c,v 1.16 1999/07/17 20:44:10 niklas Exp $ */
+/* $OpenBSD: init.c,v 1.10 1999/08/26 22:30:58 niklas Exp $ */
+/* $EOM: init.c,v 1.18 1999/08/26 11:21:49 niklas Exp $ */
/*
* Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved.
@@ -48,6 +48,7 @@
#include "init.h"
#include "ipsec.h"
#include "isakmp_doi.h"
+#include "libcrypto.h"
#include "math_group.h"
#include "sa.h"
#include "timer.h"
@@ -55,7 +56,7 @@
#include "udp.h"
#include "ui.h"
-#ifdef USE_KEYNOTE
+#if defined (USE_KEYNOTE) || defined (HAVE_DLOPEN)
#include "policy.h"
#endif
@@ -68,6 +69,7 @@ init ()
group_init ();
ipsec_init ();
isakmp_doi_init ();
+ libcrypto_init ();
timer_init ();
/* The following group are depending on timer_init having run. */
@@ -83,8 +85,8 @@ init ()
udp_init ();
ui_init ();
-#ifdef USE_KEYNOTE
- /* policy_init depends on conf_init having run. */
+#if defined (USE_KEYNOTE) || defined (HAVE_DLOPEN)
+ /* policy_init depends on conf_init having run. */
policy_init ();
#endif
}