Fix for bug 288726. error in SECMOD_CancelWait

git-svn-id: svn://10.0.0.236/trunk@171499 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
julien.pierre.bugs%sun.com
2005-04-02 06:02:53 +00:00
parent fa13efc4c4
commit ca4dc6426f

View File

@@ -1138,7 +1138,7 @@ SECMOD_CancelWait(SECMODModule *mod)
crv = PK11_GETTAB(mod)->C_Finalize(NULL);
/* ok, we slammed the module down, now we need to reinit it in case
* we intend to use it again */
if (crv = CKR_OK) {
if (CKR_OK == crv) {
secmod_ModuleInit(mod);
} else {
/* Finalized failed for some reason, notify the application