From 984cf0036c882c4fada83448aaa37bbd5ebb8130 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 20 Oct 2005 05:58:08 +0000 Subject: Merged with Alon's r688. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@689 e7ae566f-a301-0410-adde-c780ea21d3b5 --- init.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'init.c') diff --git a/init.c b/init.c index c2fb6cf..97d0660 100644 --- a/init.c +++ b/init.c @@ -116,12 +116,12 @@ context_init_1 (struct context *c) #if defined(ENABLE_PKCS11) { int i; - init_pkcs11 (c->options.pkcs11_pin_cache_period); + pkcs11_initialize (c->options.pkcs11_pin_cache_period); for (i=0;ioptions.pkcs11_providers[i] != NULL;i++) - add_pkcs11 (c->options.pkcs11_providers[i], c->options.pkcs11_sign_mode[i]); + pkcs11_addProvider (c->options.pkcs11_providers[i], c->options.pkcs11_sign_mode[i]); } #endif - + #if P2MP /* Auth user/pass input */ if (c->options.auth_user_pass_file) @@ -236,7 +236,7 @@ uninit_static (void) #endif #ifdef ENABLE_PKCS11 - free_pkcs11 (); + pkcs11_terminate (); #endif #if defined(MEASURE_TLS_HANDSHAKE_STATS) && defined(USE_CRYPTO) && defined(USE_SSL) @@ -376,7 +376,7 @@ possibly_become_daemon (const struct options *options, const bool first_time) set_std_files_to_null (true); #if defined(ENABLE_PKCS11) - fork_fix_pkcs11 (); + pkcs11_forkFixup (); #endif ret = true; -- cgit v1.2.3