Mercurial > hg > orthanc
comparison Core/HttpClient.cpp @ 2024:944b255035a0
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 18 Jun 2016 12:03:32 +0200 |
parents | 7fe860db9664 |
children | e7e1858d9504 |
comparison
equal
deleted
inserted
replaced
2023:7fe860db9664 | 2024:944b255035a0 |
---|---|
768 const std::string& pin, | 768 const std::string& pin, |
769 bool verbose) | 769 bool verbose) |
770 { | 770 { |
771 #if ORTHANC_PKCS11_ENABLED == 1 | 771 #if ORTHANC_PKCS11_ENABLED == 1 |
772 LOG(INFO) << "Initializing PKCS#11 using " << module | 772 LOG(INFO) << "Initializing PKCS#11 using " << module |
773 << (pin.empty() ? "(no PIN provided)" : "(PIN is provided)"); | 773 << (pin.empty() ? " (no PIN provided)" : " (PIN is provided)"); |
774 GlobalParameters::GetInstance().InitializePkcs11(module, pin, verbose); | 774 GlobalParameters::GetInstance().InitializePkcs11(module, pin, verbose); |
775 #else | 775 #else |
776 LOG(ERROR) << "This version of Orthanc is compiled without support for PKCS11"; | 776 LOG(ERROR) << "This version of Orthanc is compiled without support for PKCS11"; |
777 throw OrthancException(ErrorCode_InternalError); | 777 throw OrthancException(ErrorCode_InternalError); |
778 #endif | 778 #endif |