aboutsummaryrefslogtreecommitdiff
path: root/pkcs11.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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