From 918685c1c09de1e3cd14c41bb8cc8b89a177ccd2 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 5 Apr 2020 12:03:52 +0200 Subject: Different certificates for different hosts --- https.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'https.h') diff --git a/https.h b/https.h index e137463..13a67a7 100644 --- a/https.h +++ b/https.h @@ -15,7 +15,9 @@ namespace HTTPS { class Server: public ::Server { // The SSL context is required, and holds certificates +public: ssl::context m_ctx{ssl::context::tlsv13}; + ssl::context m_ctx2{ssl::context::tlsv13}; const Socket& m_socket; public: -- cgit v1.2.3