summaryrefslogtreecommitdiff
path: root/src/openvpn/pkcs11.h
diff options
context:
space:
mode:
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 */