aboutsummaryrefslogtreecommitdiff
path: root/pkcs11
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 /pkcs11
parentChanged tap-win32 version number in (diff)
downloadopenvpn-be38c0514aabcff8b4a0b588a06d36c150c8b5ed.tar.xz
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 '')
-rw-r--r--pkcs11-headers/pkcs11.h (renamed from pkcs11/pkcs11.h)0
-rw-r--r--pkcs11-headers/pkcs11f.h (renamed from pkcs11/pkcs11f.h)0
-rw-r--r--pkcs11-headers/pkcs11t.h (renamed from pkcs11/pkcs11t.h)0
-rw-r--r--pkcs11.c5
-rw-r--r--pkcs11.h4
5 files changed, 6 insertions, 3 deletions
diff --git a/pkcs11/pkcs11.h b/pkcs11-headers/pkcs11.h
index 6c61220..6c61220 100644
--- a/pkcs11/pkcs11.h
+++ b/pkcs11-headers/pkcs11.h
diff --git a/pkcs11/pkcs11f.h b/pkcs11-headers/pkcs11f.h
index a479384..a479384 100644
--- a/pkcs11/pkcs11f.h
+++ b/pkcs11-headers/pkcs11f.h
diff --git a/pkcs11/pkcs11t.h b/pkcs11-headers/pkcs11t.h
index b1a231a..b1a231a 100644
--- a/pkcs11/pkcs11t.h
+++ b/pkcs11-headers/pkcs11t.h
diff --git a/pkcs11.c b/pkcs11.c
index 7352e8f..cee178e 100644
--- a/pkcs11.c
+++ b/pkcs11.c
@@ -34,9 +34,10 @@
#include "config.h"
#endif
-#if defined(USE_CRYPTO) && defined(USE_SSL) && defined(ENABLE_PKCS11)
-
#include "syshead.h"
+
+#if defined(ENABLE_PKCS11)
+
#include "error.h"
#include "misc.h"
#include "ssl.h"
diff --git a/pkcs11.h b/pkcs11.h
index 7f44e1b..fdb1b91 100644
--- a/pkcs11.h
+++ b/pkcs11.h
@@ -25,7 +25,9 @@
#ifndef OPENVPN_PKCS11_H
#define OPENVPN_PKCS11_H
-#if defined(USE_CRYPTO) && defined(USE_SSL) && defined(ENABLE_PKCS11)
+#if defined(ENABLE_PKCS11)
+
+#include <openssl/ssl.h>
int
SSL_CTX_use_pkcs11 (