PK11_RWSessionHasLock(PK11SlotInfo *slot,CK_SESSION_HANDLE session_handle) { return (PRBool)(!slot->isThreadSafe || slot->defRWSession);
PK11_RWSessionHasLock(PK11SlotInfo *slot,CK_SESSION_HANDLE session_handle) { PRBool hasLock; hasLock = (PRBool)(!slot->isThreadSafe || (slot->defRWSession && slot->session != CK_INVALID_SESSION)); return hasLock;
PK11_RWSessionHasLock(PK11SlotInfo *slot,CK_SESSION_HANDLE session_handle) {    return (PRBool)(!slot->isThreadSafe || slot->defRWSession);}