summaryrefslogtreecommitdiffstats
path: root/security/nss/lib/pk11wrap/dev3hack.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/lib/pk11wrap/dev3hack.c')
-rw-r--r--security/nss/lib/pk11wrap/dev3hack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/pk11wrap/dev3hack.c b/security/nss/lib/pk11wrap/dev3hack.c
index 3fb0cb0aa..4877f9450 100644
--- a/security/nss/lib/pk11wrap/dev3hack.c
+++ b/security/nss/lib/pk11wrap/dev3hack.c
@@ -28,7 +28,7 @@ nssSession_ImportNSS3Session(NSSArena *arenaOpt,
PZLock *lock, PRBool rw)
{
nssSession *rvSession = NULL;
- if (session != CK_INVALID_SESSION) {
+ if (session != CK_INVALID_HANDLE) {
rvSession = nss_ZNEW(arenaOpt, nssSession);
if (rvSession) {
rvSession->handle = session;