summaryrefslogtreecommitdiffstats
path: root/syshead.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-15 12:14:56 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-15 12:14:56 +0000
commitbe38c0514aabcff8b4a0b588a06d36c150c8b5ed (patch)
treeeb8f07b55de462c2789a9e2138a19ad6e321b0d7 /syshead.h
parentc7e014dda9d704b7df6ff37a688d5395649b356a (diff)
downloadopenvpn-be38c0514aabcff8b4a0b588a06d36c150c8b5ed.tar.gz
openvpn-be38c0514aabcff8b4a0b588a06d36c150c8b5ed.tar.xz
openvpn-be38c0514aabcff8b4a0b588a06d36c150c8b5ed.zip
Fixed some minor build issues with PKCS11 patch:
"make dist" wasn't building correct tarball. Some ./configure --enable/--disable options were broken. Renamed pkcs11 directory to pkcs11-headers to work around automake issue. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@626 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'syshead.h')
-rw-r--r--syshead.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/syshead.h b/syshead.h
index a786e65..c5ef47b 100644
--- a/syshead.h
+++ b/syshead.h
@@ -436,6 +436,13 @@ socket_defined (const socket_descriptor_t sd)
#endif
/*
+ * Do we have PKCS11 capability?
+ */
+#if defined(USE_PKCS11) && defined(USE_CRYPTO) && defined(USE_SSL)
+#define ENABLE_PKCS11
+#endif
+
+/*
* Is poll available on this platform?
*/
#if defined(HAVE_POLL) && defined(HAVE_SYS_POLL_H)