summaryrefslogtreecommitdiff
path: root/src/openvpn/pkcs11.h
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
commit3a2bbdb05ca6a6996e424c9fb225cb0d53804125 (patch)
treef29063da5bec4caf3853d49a22a09c8619eebd21 /src/openvpn/pkcs11.h
parentd53dba59e78da865c4fe820386ff2f4f76925f3b (diff)
New upstream version 2.4.0upstream/2.4.0
Diffstat (limited to 'src/openvpn/pkcs11.h')
-rw-r--r--src/openvpn/pkcs11.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/openvpn/pkcs11.h b/src/openvpn/pkcs11.h
index b49401c..3747d3a 100644
--- a/src/openvpn/pkcs11.h
+++ b/src/openvpn/pkcs11.h
@@ -5,7 +5,7 @@
* packet encryption, packet authentication, and
* packet compression.
*
- * Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>
+ * Copyright (C) 2002-2017 OpenVPN Technologies, Inc. <sales@openvpn.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
@@ -30,48 +30,48 @@
#include "ssl_common.h"
bool
-pkcs11_initialize (
- const bool fProtectedAuthentication,
- const int nPINCachePeriod
-);
+pkcs11_initialize(
+ const bool fProtectedAuthentication,
+ const int nPINCachePeriod
+ );
void
-pkcs11_terminate ();
+pkcs11_terminate();
bool
-pkcs11_addProvider (
- const char * const provider,
- const bool fProtectedAuthentication,
- const unsigned private_mode,
- const bool fCertIsPrivate
-);
+pkcs11_addProvider(
+ const char *const provider,
+ const bool fProtectedAuthentication,
+ const unsigned private_mode,
+ const bool fCertIsPrivate
+ );
int
pkcs11_logout();
int
-pkcs11_management_id_count ();
+pkcs11_management_id_count();
bool
-pkcs11_management_id_get (
- const int index,
- char ** id,
- char **base64
-);
+pkcs11_management_id_get(
+ const int index,
+ char **id,
+ char **base64
+ );
int
-tls_ctx_use_pkcs11 (
- struct tls_root_ctx * const ssl_ctx,
- bool pkcs11_id_management,
- const char * const pkcs11_id
-);
+tls_ctx_use_pkcs11(
+ struct tls_root_ctx *const ssl_ctx,
+ bool pkcs11_id_management,
+ const char *const pkcs11_id
+ );
void
-show_pkcs11_ids (
- const char * const provider,
- bool cert_private
-);
+show_pkcs11_ids(
+ const char *const provider,
+ bool cert_private
+ );
-#endif /* ENABLE_PKCS11 */
+#endif /* ENABLE_PKCS11 */
-#endif /* OPENVPN_PKCS11H_H */
+#endif /* OPENVPN_PKCS11H_H */