mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Merge remote-tracking branch 'origin/maint-0.2.4'
This commit is contained in:
commit
19d6650f81
2 changed files with 10 additions and 0 deletions
4
changes/bug6673
Normal file
4
changes/bug6673
Normal file
|
@ -0,0 +1,4 @@
|
|||
o Minor features (build):
|
||||
- Detect and reject attempts to build Tor with threading support
|
||||
when OpenSSL have been compiled with threading support disabled.
|
||||
Fixes bug 6673.
|
|
@ -2968,6 +2968,12 @@ memwipe(void *mem, uint8_t byte, size_t sz)
|
|||
}
|
||||
|
||||
#ifdef TOR_IS_MULTITHREADED
|
||||
|
||||
#ifndef OPENSSL_THREADS
|
||||
#error OpenSSL has been built without thread support. Tor requires an \
|
||||
OpenSSL library with thread support enabled.
|
||||
#endif
|
||||
|
||||
/** Helper: OpenSSL uses this callback to manipulate mutexes. */
|
||||
static void
|
||||
openssl_locking_cb_(int mode, int n, const char *file, int line)
|
||||
|
|
Loading…
Add table
Reference in a new issue