| 31 | using namespace apache::thrift::transport; |
| 32 | |
| 33 | void make_isolated_sslsocketfactory() { |
| 34 | // Here we create an isolated TSSLSocketFactory to ensure the |
| 35 | // constructor and destructor of TSSLSocketFactory get run. Thus |
| 36 | // without manual initialization normally OpenSSL would be |
| 37 | // uninitialized after this function. |
| 38 | TSSLSocketFactory factory; |
| 39 | } |
| 40 | |
| 41 | void openssl_init() { |
| 42 | #if MANUAL_OPENSSL_INIT |
no outgoing calls
no test coverage detected