Client: enables TLS 1.3
This commit is contained in:
parent
60a332e124
commit
8c8045a696
2 changed files with 10 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ namespace SimpleWeb {
|
|||
: ServerBase<HTTPS>::ServerBase(443),
|
||||
#if(ASIO_STANDALONE && ASIO_VERSION >= 101300) || BOOST_ASIO_VERSION >= 101300
|
||||
context(asio::ssl::context::tls_server) {
|
||||
// Disabling SSL, TLS 1.0 and 1.1 (see RFC 8996)
|
||||
// Disabling TLS 1.0 and 1.1 (see RFC 8996)
|
||||
context.set_options(asio::ssl::context::no_tlsv1);
|
||||
context.set_options(asio::ssl::context::no_tlsv1_1);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue