[
https://issues.apache.org/jira/browse/THRIFT-3878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15379352#comment-15379352
]
James E. King, III edited comment on THRIFT-3878 at 7/15/16 1:19 PM:
---------------------------------------------------------------------
Please update this ticket with the exact version of openssl you were compiling
against. Also if you were doing this build against origin/master the "Affects
Versions" field should be set to 0.10.0, or if it was a previous stable release
please indicate which one.
was (Author: jking3):
Please update this ticket with the exact version of openssl you were compiling
against.
> Compile error in TSSLSocket.cpp
> -------------------------------
>
> Key: THRIFT-3878
> URL: https://issues.apache.org/jira/browse/THRIFT-3878
> Project: Thrift
> Issue Type: Bug
> Components: C++ - Library
> Affects Versions: 1.0
> Environment: VS2013
> Reporter: Sergey Fasman
> Priority: Trivial
>
> In TSSLSocket if use new OpenSSL library will be compile error.
> That because CRYPTO_num_locks is now macro-call instead of function.
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)