Skip to content

Comments

Avoid holding a lock when calling OPENSSL_init_crypto#9547

Closed
mattcaswell wants to merge 1 commit intoopenssl:masterfrom
mattcaswell:no-lock-in-init
Closed

Avoid holding a lock when calling OPENSSL_init_crypto#9547
mattcaswell wants to merge 1 commit intoopenssl:masterfrom
mattcaswell:no-lock-in-init

Conversation

@mattcaswell
Copy link
Member

We move an OPENSSL_init_crypto call slightly earlier in the process to avoid calling it while holding the store lock. This can lead to deadlocks.

Fixes the no-engine build.

We move an OPENSSL_init_crypto call slightly earlier in the process to
avoid calling it while holding the store lock. This can lead to deadlocks.

Fixes the no-engine build.
@mattcaswell mattcaswell added the branch: master Applies to master branch label Aug 7, 2019
@mattcaswell
Copy link
Member Author

Travis red cross is not relevant.

@mattcaswell
Copy link
Member Author

Pushed. Thanks.

@mattcaswell mattcaswell closed this Aug 8, 2019
levitte pushed a commit that referenced this pull request Aug 8, 2019
We move an OPENSSL_init_crypto call slightly earlier in the process to
avoid calling it while holding the store lock. This can lead to deadlocks.

Fixes the no-engine build.

Reviewed-by: Paul Dale <[email protected]>
(Merged from #9547)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch: master Applies to master branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants