mirror of
https://github.com/NixOS/nix
synced 2025-06-29 02:11:15 +02:00
Make OpenSSL usage thread-safe
OpenSSL can randomly segfault unless we register a callback function to do locking. https://www.openssl.org/docs/manmaster/crypto/threads.html
This commit is contained in:
parent
d361901bfe
commit
840056af04
3 changed files with 26 additions and 4 deletions
|
@ -101,4 +101,8 @@ struct PrintFreed
|
|||
};
|
||||
|
||||
|
||||
/* Install a SIGSEGV handler to detect stack overflows. */
|
||||
void detectStackOverflow();
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue