Skip to content
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

Change the ossl3 context to be allocated once #99

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

simo5
Copy link
Collaborator

@simo5 simo5 commented Feb 26, 2024

Use a pthread_once guard to do initialization only once and a destructor to deinitialize also only once on library unload.

Fixes #97

Use a pthread_once guard to do initialization only once and a destructor
to deinitialize also only once on library unload.

Signed-off-by: Simo Sorce <[email protected]>
@simo5 simo5 merged commit febb0bc into gssapi:main Feb 26, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doesn't work with OpenSSL 3 on Alpine 3.18
1 participant