C_Finalize(): do not unload the module since the application may try to
make PKCS#11 calls again git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3513 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
e14cf57ad1
commit
d7bb718e24
|
@ -311,9 +311,6 @@ CK_RV C_Finalize(CK_VOID_PTR pReserved)
|
|||
CK_RV rv;
|
||||
enter("C_Finalize");
|
||||
rv = po->C_Finalize(pReserved);
|
||||
/* After Finalize do not use the module again */
|
||||
C_UnloadModule(modhandle);
|
||||
po = NULL;
|
||||
return retne(rv);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue