From 049975cbda6327aae542bac5dd1acd6fe97d18a4 Mon Sep 17 00:00:00 2001 From: bju Date: Thu, 4 May 2017 23:58:02 +0200 Subject: Feature #2496: Support certificate replacement without VDR restart --- vdr-vdrmanager/clientsock.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vdr-vdrmanager/clientsock.h') diff --git a/vdr-vdrmanager/clientsock.h b/vdr-vdrmanager/clientsock.h index 6c3fba3..c2062e6 100644 --- a/vdr-vdrmanager/clientsock.h +++ b/vdr-vdrmanager/clientsock.h @@ -37,14 +37,15 @@ private: bool initCompression; int compressionMode; #if VDRMANAGER_USE_SSL + SSL_CTX * sslCtx; SSL * ssl; int sslReadWrite; int sslWantsSelect; #endif public: - cVdrmanagerClientSocket(const char * password, int compressionMode); + cVdrmanagerClientSocket(const char * password, int compressionMode, const char * certFile, const char * keyFile); virtual ~cVdrmanagerClientSocket(); - bool Attach(int fd, SSL_CTX * sslCtx); + bool Attach(int fd); bool IsLineComplete(); bool GetLine(string& line); void Write(string line); @@ -58,6 +59,7 @@ public: int GetSslReadWrite(); int GetSslWantsSelect(); bool IsSSL(); + bool LoadCerts(); #endif bool Disconnected(); void Disconnect(); -- cgit v1.2.3