I am implementing a client SSL connection through Boost.ASIO. In accordance with the reference book I use SSL_get_verify_result, I need to call so that everything is in order with the server certificate. Unfortunately, it takes a pointer to a structure SSL, and I don't know how to get this from ASIO.
I tried using a function impl()for my object boost::asio::ssl::stream<boost::asio::ip::tcp::socket>, but the compiler complains that it returns something else.
There must be a way to get this information. Does anyone know this?
source
share