aboutsummaryrefslogtreecommitdiff
path: root/pkcs11.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-14 08:09:44 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-10-14 08:09:44 +0000
commit3d423bbe963306259dac4e85a76e687292c72fc5 (patch)
treee8bdb455727a9788aa01791f2cced4be4ea4cce6 /pkcs11.h
parentadded *.orig to .svnignore (diff)
downloadopenvpn-3d423bbe963306259dac4e85a76e687292c72fc5.tar.xz
Minor PKCS#11 changes.
pre-2.1_beta3 git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@607 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'pkcs11.h')
-rw-r--r--pkcs11.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkcs11.h b/pkcs11.h
index 488a591..7f44e1b 100644
--- a/pkcs11.h
+++ b/pkcs11.h
@@ -25,6 +25,8 @@
#ifndef OPENVPN_PKCS11_H
#define OPENVPN_PKCS11_H
+#if defined(USE_CRYPTO) && defined(USE_SSL) && defined(ENABLE_PKCS11)
+
int
SSL_CTX_use_pkcs11 (
SSL_CTX * const ssl_ctx,
@@ -62,3 +64,5 @@ show_pkcs11_objects (
);
#endif
+
+#endif