bool set_ssl_cache_flag2(false);
initialize_ssl_mode_test_class test_obj2(vs,io,set_option,listen_endpoint,set_mode,set_context2,set_ssl_cache_flag2,set_ssl_handshake_time_out,plogger);
- SSL* pRet = test_obj2.get_client_ssl_socket().impl()->ssl;
- test_obj2.get_client_ssl_socket().impl()->ssl = NULL;
+ SSL_METHOD* pRet = test_obj2.get_client_ssl_socket().impl()->ssl->method;
+ test_obj2.get_client_ssl_socket().impl()->ssl->method = NULL;
+
// test call
msg = test_obj2.initialize();
std::cout << "[3] initialize SSL_clear Error case" << std::endl;
BOOST_CHECK(msg.flag == true);
- test_obj2.get_client_ssl_socket().impl()->ssl = pRet;
+ test_obj2.get_client_ssl_socket().impl()->ssl->method = pRet;