[asio-users] Error context: asio.ssl:336539714
Brought to you by:
chris_kohlhoff
From: Sorin C. <cns...@ya...> - 2022-06-21 10:34:40
|
Hello, I designed a shared library(boost 1.78 , g++ 4.8.5) containing a method like this: void f() { try { boost::asio::ssl::context ctx(boost::asio::ssl::context::sslv23); } catch(std::exception& e) { cout<<"exception depicted as: "<<e.what(); } cout<<"OKAY"; } Then I test my library from the same machine in two different ways: a) It works ok when calling this method from a cprogram with dlopen() ( output: "OKAY") b) From a custome application, if I load this library and then I call the same method, I have this output "exception depicted as: context: asio.ssl error [asio.ssl:336539714]" Any thought, please? Regards, |