Skip to content

Commit

Permalink
Fix race condition in pkcs11 SessionManager
Browse files Browse the repository at this point in the history
  • Loading branch information
zzambers committed Aug 31, 2022
1 parent 3c1bda4 commit 713f617
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -207,7 +207,7 @@ void demoteObjSession(Session session) {
// will be added to correct pool on release, nothing to do now
return;
}
opSessions.release(session);
releaseSession(session);
}

private Session openSession() throws PKCS11Exception {
Expand Down

0 comments on commit 713f617

Please sign in to comment.