summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>2000-03-08 08:42:15 +0000
committerniklas <niklas@openbsd.org>2000-03-08 08:42:15 +0000
commit302d55ee76e46a192a3454cf9298abb377b412ce (patch)
tree006af188fc3a31918fd07deaa9697e5d112f1212
parentMerge with EOM 1.39 (diff)
downloadwireguard-openbsd-302d55ee76e46a192a3454cf9298abb377b412ce.tar.xz
wireguard-openbsd-302d55ee76e46a192a3454cf9298abb377b412ce.zip
Merge with EOM 1.37
author: ho Add missing #ifdef USE_X509/#endif
-rw-r--r--sbin/isakmpd/x509.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/isakmpd/x509.c b/sbin/isakmpd/x509.c
index fb65e05f934..d7580611758 100644
--- a/sbin/isakmpd/x509.c
+++ b/sbin/isakmpd/x509.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: x509.c,v 1.25 2000/02/25 17:23:42 niklas Exp $ */
-/* $EOM: x509.c,v 1.36 2000/02/20 19:58:43 niklas Exp $ */
+/* $OpenBSD: x509.c,v 1.26 2000/03/08 08:42:15 niklas Exp $ */
+/* $EOM: x509.c,v 1.37 2000/03/07 16:09:36 ho Exp $ */
/*
* Copyright (c) 1998, 1999 Niels Provos. All rights reserved.
@@ -36,6 +36,8 @@
* This code was written under funding by Ericsson Radio Systems.
*/
+#ifdef USE_X509
+
#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -993,3 +995,5 @@ x509_cert_get_key (void *scert, void *keyp)
return *(RSA **)keyp == NULL ? 0 : 1;
}
+
+#endif /* USE_X509 */