diff options
author | julien.pierre.bugs%sun.com <devnull@localhost> | 2005-04-02 06:02:53 +0000 |
---|---|---|
committer | julien.pierre.bugs%sun.com <devnull@localhost> | 2005-04-02 06:02:53 +0000 |
commit | d72122b1482e032846bcc649e1a148a0eb1bd64b (patch) | |
tree | c659eb541a07cd5928150bfbeed7fbbe528638c4 | |
parent | 23e54904d3cd3d9fa3b2867b26dfb661b74e94ec (diff) | |
download | nss-hg-d72122b1482e032846bcc649e1a148a0eb1bd64b.tar.gz |
Fix for bug 288726. error in SECMOD_CancelWait
-rw-r--r-- | security/nss/lib/pk11wrap/pk11util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/pk11wrap/pk11util.c b/security/nss/lib/pk11wrap/pk11util.c index de63ab1a4..3108d5dbd 100644 --- a/security/nss/lib/pk11wrap/pk11util.c +++ b/security/nss/lib/pk11wrap/pk11util.c @@ -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 |