asio: asio-cl: Disable peer verification to make development easier
Don't do this in practice
This commit is contained in:
parent
6753b6d61e
commit
566baab307
|
@ -62,7 +62,8 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
boost::asio::ssl::context tls_ctx(boost::asio::ssl::context::sslv23);
|
boost::asio::ssl::context tls_ctx(boost::asio::ssl::context::sslv23);
|
||||||
tls_ctx.set_default_verify_paths();
|
tls_ctx.set_default_verify_paths();
|
||||||
tls_ctx.set_verify_mode(boost::asio::ssl::verify_peer);
|
// disabled to make development easier...
|
||||||
|
// tls_ctx.set_verify_mode(boost::asio::ssl::verify_peer);
|
||||||
configure_tls_context(tls_ctx);
|
configure_tls_context(tls_ctx);
|
||||||
|
|
||||||
session sess(io_service, tls_ctx, "localhost", "3000");
|
session sess(io_service, tls_ctx, "localhost", "3000");
|
||||||
|
|
Loading…
Reference in New Issue