diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-20 05:58:08 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-20 05:58:08 +0000 |
commit | 984cf0036c882c4fada83448aaa37bbd5ebb8130 (patch) | |
tree | d8a8d9f93c48326f2bb2295d95e19a4c830b3d62 /init.c | |
parent | Make sure that install-win32/prebuild gets (diff) | |
download | openvpn-984cf0036c882c4fada83448aaa37bbd5ebb8130.tar.xz |
Merged with Alon's r688.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@689 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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;i<MAX_PARMS && c->options.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; |