Skip to content

Commit

Permalink
core: fix plug&play when no threading and no safefork
Browse files Browse the repository at this point in the history
  • Loading branch information
alonbl committed Nov 17, 2020
1 parent 95efa33 commit 74b1e9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Copyright (c) 2005-2018 Alon Bar-Lev <[email protected]>
????-??-?? - Version 1.27

* core: handle PIN expiration after C_Login as C_Login may take a while
* core: return explict success when plugin&play and no threading and no
safefork, thanks to Tunnelblick

2020-01-21 - Version 1.26

Expand Down
3 changes: 3 additions & 0 deletions lib/pkcs11h-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,9 @@ pkcs11h_forkFixup (void) {
if (_g_pkcs11h_data->safefork) {
return __pkcs11h_forkFixup ();
}
else {
return CKR_OK;
}
#endif
#endif
}
Expand Down

0 comments on commit 74b1e9b

Please sign in to comment.