diff OrthancFramework/Sources/HttpServer/HttpServer.h @ 4382:3aacd2bd8bbc varian

review changeset 4381:df313e410f0c
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Dec 2020 15:10:04 +0100
parents df313e410f0c
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/HttpServer.h	Fri Dec 11 11:59:10 2020 -0500
+++ b/OrthancFramework/Sources/HttpServer/HttpServer.h	Thu Dec 17 15:10:04 2020 +0100
@@ -97,7 +97,8 @@
     std::string trustedClientCertificates_;
     bool ssl_;
     std::string certificate_;
-    std::string sslMinimumVersion_;
+    unsigned int sslMinimumVersion_;
+    bool sslHasCiphers_;
     std::string sslCiphers_;
     uint16_t port_;
     IIncomingHttpRequestFilter* filter_;
@@ -145,9 +146,9 @@
 
     // set the minimum accepted version of SSL/TLS protocol according to the CivetWeb table published here:
     // https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md#ssl_protocol_version-0
-    void SetSslMinimumVersion(std::string version);
+    void SetSslMinimumVersion(unsigned int version);
 
-    void SetSslCiphers(std::string ciphers);
+    void SetSslCiphers(const std::list<std::string>& ciphers);
     
     void SetSslTrustedClientCertificates(const char* path);