summaryrefslogtreecommitdiffhomepage
path: root/https.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-05 12:03:52 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-05 12:03:52 +0200
commit918685c1c09de1e3cd14c41bb8cc8b89a177ccd2 (patch)
treef803517e6a34be0216f00249dd62525eadce0d05 /https.h
parentcbfc28a946ded64e9402e1e6d32511150339ec72 (diff)
Different certificates for different hosts
Diffstat (limited to 'https.h')
-rw-r--r--https.h2
1 files changed, 2 insertions, 0 deletions
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: