Mercurial > hg > orthanc-stone
diff Framework/Orthanc/Core/WebServiceParameters.h @ 15:da2cf3ace87a
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 17:20:44 +0100 |
parents | 2dbe613f6c93 |
children |
line wrap: on
line diff
--- a/Framework/Orthanc/Core/WebServiceParameters.h Wed Nov 09 15:29:53 2016 +0100 +++ b/Framework/Orthanc/Core/WebServiceParameters.h Wed Nov 09 17:20:44 2016 +0100 @@ -32,6 +32,10 @@ #pragma once +#if !defined(ORTHANC_SANDBOXED) +# error The macro ORTHANC_SANDBOXED must be defined +#endif + #include <string> #include <json/json.h> @@ -88,9 +92,11 @@ void ClearClientCertificate(); +#if ORTHANC_SANDBOXED == 0 void SetClientCertificate(const std::string& certificateFile, const std::string& certificateKeyFile, const std::string& certificateKeyPassword); +#endif const std::string& GetCertificateFile() const {