summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/x509.c
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-04-05 20:46:21 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-04-05 20:46:21 +0000
commit78ffac09c80ac319aff487261743d3e5f2854966 (patch)
treea39780156cc877bfdb3943f085232667890bfc6c /sbin/isakmpd/x509.c
parent1c426f1f218090a86478e6a9ab2db1bef88b1db7 (diff)
Always compile X509 support. Almost everyone uses it. Makes the code
much easier to read and to maintain. OK and testing by hshoexer@, more testing by me
Diffstat (limited to 'sbin/isakmpd/x509.c')
-rw-r--r--sbin/isakmpd/x509.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/isakmpd/x509.c b/sbin/isakmpd/x509.c
index 3b3d5d17c0b..3f567a62304 100644
--- a/sbin/isakmpd/x509.c
+++ b/sbin/isakmpd/x509.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: x509.c,v 1.97 2005/03/15 16:49:05 mpf Exp $ */
+/* $OpenBSD: x509.c,v 1.98 2005/04/05 20:46:20 cloder Exp $ */
/* $EOM: x509.c,v 1.54 2001/01/16 18:42:16 ho Exp $ */
/*
@@ -31,7 +31,6 @@
* This code was written under funding by Ericsson Radio Systems.
*/
-#ifdef USE_X509
#include <sys/param.h>
#include <sys/types.h>
@@ -1432,4 +1431,4 @@ x509_DN_string(u_int8_t *asn1, size_t sz)
buf[sizeof buf - 1] = '\0';
return strdup(buf);
}
-#endif /* USE_X509 */
+