-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow uninitialization of lib handle #2
Conversation
Thankyou for the PR. This needs a bit more before we can merge it.
|
80d4a37
to
9f38f91
Compare
…unction to allow default lib handle uninitialization
9f38f91
to
4b969bb
Compare
@nfewx I've refactored code based on your comments and mentioned PR #3. I've created a new type As the |
I have removed |
I appreciate the desire to minimize dependencies but I'd rather keep that code as an external dependency, partly for licensing reasons and partly to simplify tracking of any upstream changes. |
@nfewx ok. what do you think of new |
c97df71
to
4b969bb
Compare
from another point of view, there is an API which recv handles which could be created with different session context (not libHandle) and then having it at hand allows passing of the right session handle to the pkcs11 calls. |
to allow releasing of the default library handle