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
commit79f3537f69e125f19f59c36aa090120a63186a54 (patch)
tree2089a3b7dac990841dbc2e4d9b2f535b82dbb0af /src/openvpn/pkcs11.h
parentf2137fedb30cb87448eb03b2f288920df6187571 (diff)
parent3a2bbdb05ca6a6996e424c9fb225cb0d53804125 (diff)
Merge tag 'upstream/2.4.0'
Upstream version 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 */