summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sa.c
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-03-19 14:04:44 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-03-19 14:04:44 +0000
commit0b9f96e56b22f3d0bd8f9fa95204ba7a9e49683f (patch)
tree305096d9429011aed372ea12a527d10602e2a847 /sbin/isakmpd/sa.c
parent96c309c384e99b742c4307ece38772c4841ffad2 (diff)
Add missing bits to make already present privsep code work. Enable privsep.
ok ho@ deraadt@ markus@
Diffstat (limited to 'sbin/isakmpd/sa.c')
-rw-r--r--sbin/isakmpd/sa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/sa.c b/sbin/isakmpd/sa.c
index 2efee3cb374..7e1c60f580c 100644
--- a/sbin/isakmpd/sa.c
+++ b/sbin/isakmpd/sa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sa.c,v 1.76 2004/02/27 10:16:26 ho Exp $ */
+/* $OpenBSD: sa.c,v 1.77 2004/03/19 14:04:43 hshoexer Exp $ */
/* $EOM: sa.c,v 1.112 2000/12/12 00:22:52 niklas Exp $ */
/*
@@ -51,6 +51,7 @@
#include "isakmp.h"
#include "log.h"
#include "message.h"
+#include "monitor.h"
#include "sa.h"
#include "timer.h"
#include "transport.h"
@@ -693,7 +694,7 @@ sa_report_all (void)
struct sa *sa;
/* Open SA_FILE. */
- fd = fopen (SA_FILE, "w");
+ fd = monitor_fopen (SA_FILE, "w");
/* Start sa_config_report. */
for (i = 0; i <= bucket_mask; i++)