Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
0.9.3, 0.10.0
-
None
-
VS2013
Thrift from git repo, SHA-1: 5a3f855b4e6882184f13c698855c877241144a12 (master)
OpenSSL from git repo (master).
Description
In TSSLSocket if use new OpenSSL library (downloaded and builded from git) will be compile error.
That because CRYPTO_num_locks is now macro-call instead of function.
THRIFT -also from git repo (master).
So I simply fix that:
#ifdef CRYPTO_num_locks
mutexes = boost::shared_array<Mutex>(new Mutex[CRYPTO_num_locks()]);
#else
mutexes = boost::shared_array<Mutex>(new Mutex[ ::CRYPTO_num_locks()]);
#endif
Attachments
Issue Links
- relates to
-
THRIFT-3736 C++ library build fails if OpenSSL does not surrpot SSLv3
- Closed
- links to