summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/x509.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 16:24:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 16:24:14 +0000
commitbe4b45e472b33137a5caa2dad02525cfdd7a045f (patch)
tree82b3574d3430d564e99ac8fb35dd0bd91f8e65cb /sbin/isakmpd/x509.c
parent341adb13cb535ddc048182109bc1e2a2c8891907 (diff)
privsep always
Diffstat (limited to 'sbin/isakmpd/x509.c')
-rw-r--r--sbin/isakmpd/x509.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sbin/isakmpd/x509.c b/sbin/isakmpd/x509.c
index 3f567a62304..d7a28ca5331 100644
--- a/sbin/isakmpd/x509.c
+++ b/sbin/isakmpd/x509.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509.c,v 1.98 2005/04/05 20:46:20 cloder Exp $ */
+/* $OpenBSD: x509.c,v 1.99 2005/04/08 16:24:12 deraadt Exp $ */
/* $EOM: x509.c,v 1.54 2001/01/16 18:42:16 ho Exp $ */
/*
@@ -611,11 +611,7 @@ int
x509_read_from_dir(X509_STORE *ctx, char *name, int hash)
{
struct dirent *file;
-#if defined (USE_PRIVSEP)
struct monitor_dirents *dir;
-#else
- DIR *dir;
-#endif
FILE *certfp;
X509 *cert;
struct stat sb;
@@ -716,11 +712,7 @@ x509_read_crls_from_dir(X509_STORE *ctx, char *name)
{
#if OPENSSL_VERSION_NUMBER >= 0x00907000L
struct dirent *file;
-#if defined (USE_PRIVSEP)
struct monitor_dirents *dir;
-#else
- DIR *dir;
-#endif
FILE *crlfp;
X509_CRL *crl;
struct stat sb;