Use secure TLS/SSL versions:

TLS1.2 can be used instead, it is available in all currently
supported versions of OpenSSL.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
Damian Jarek authored and Vinnie Falco committed 2019-03-14 09:56:50 -07:00
1 parent 0033b7c1e4
commit 8869ec5681
23 files changed
+62 -61

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ public:
testTeardown()
{
net::io_context ioc;
net::ssl::context ctx(net::ssl::context::sslv23);
net::ssl::context ctx(net::ssl::context::tlsv12);
Socket ss(ioc, ctx);
struct handler