Hello,
I just did a fresh git clone and got two errors when attempting to build:
src/thrift/transport/TSSLSocket.cpp:73:24: error: use of undeclared identifier
'TLSv1_1_method'
src/thrift/transport/TSSLSocket.cpp:77:24: error: use of undeclared identifier
'TLSv1_2_method'
I'm on OSX 10.8.5. (Apple LLVM version 5.1 (clang-503.0.38).
More verbosely:
/usr/include/openssl/ssl.h:1519:13: note: 'TLSv1_method' declared here
SSL_METHOD *TLSv1_method(void) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
/* TLSv1.0 */
^
src/thrift/transport/TSSLSocket.cpp:73:12: warning: 'SSL_CTX_new' is deprecated
[-Wdeprecated-declarations]
ctx_ = SSL_CTX_new(TLSv1_1_method());
^
/usr/include/openssl/ssl.h:1346:10: note: 'SSL_CTX_new' declared here
SSL_CTX *SSL_CTX_new(SSL_METHOD *meth)
DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
^
src/thrift/transport/TSSLSocket.cpp:77:24: error: use of undeclared identifier
'TLSv1_2_method'; did you
mean 'TLSv1_method'?
ctx_ = SSL_CTX_new(TLSv1_2_method());
-----------------------------------
Any advice?
thanks, Randy