diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-17 13:07:52 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-17 13:07:52 +0000 |
commit | e1f07509eb84d0c523d3fe882ed1b963abb686d4 (patch) | |
tree | 2d326d8c192cb044028ed12fcef67fd5a2c620ec /pkcs11.c | |
parent | Brought up-to-date with Alon's PKCS11 patch at (diff) | |
download | openvpn-e1f07509eb84d0c523d3fe882ed1b963abb686d4.tar.xz |
Brought up-to-date with Alon's PKCS11 patch at
https://svn.openvpn.net/projects/openvpn/contrib/alon/BETA21/openvpn@652
Pre-2.1_beta5
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@654 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'pkcs11.c')
-rw-r--r-- | pkcs11.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -1465,18 +1465,18 @@ static CK_RV pkcs11_forkFixup () { - pkcs11_provider_t current; + if (pkcs11_data != NULL && pkcs11_data->fInitialized) { - ASSERT (pkcs11_data!=NULL); - ASSERT (pkcs11_data->fInitialized); + pkcs11_provider_t current; - for ( - current = pkcs11_data->providers; - current != NULL; - current = current->next - ) { - if (current->fEnabled) { - current->f->C_Initialize (NULL); + for ( + current = pkcs11_data->providers; + current != NULL; + current = current->next + ) { + if (current->fEnabled) { + current->f->C_Initialize (NULL); + } } } |