Mercurial > hg > orthanc
changeset 2146:68557554348f
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 17:12:11 +0100 |
parents | 39f4207727db |
children | 8466aa60544a |
files | Core/WebServiceParameters.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Core/WebServiceParameters.cpp Wed Nov 09 17:09:29 2016 +0100 +++ b/Core/WebServiceParameters.cpp Wed Nov 09 17:12:11 2016 +0100 @@ -177,12 +177,14 @@ SetUsername(GetStringMember(peer, "Username", "")); SetPassword(GetStringMember(peer, "Password", "")); +#if ORTHANC_SANDBOXED == 0 if (peer.isMember("CertificateFile")) { SetClientCertificate(GetStringMember(peer, "CertificateFile", ""), GetStringMember(peer, "CertificateKeyFile", ""), GetStringMember(peer, "CertificateKeyPassword", "")); } +#endif if (peer.isMember("Pkcs11")) {