|
@@ -1813,7 +1813,7 @@ void CDeploymentEngine::setXsl(IXslProcessor* processor, IXslTransform* transfor
|
|
|
m_externalFunction.setown(m_transform->createExternalFunction("addDeploymentFile", addDeploymentFile));
|
|
|
m_transform->setExternalFunction(SEISINT_NAMESPACE, m_externalFunction.get(), true);
|
|
|
|
|
|
-#ifdef USE_OPENSSL
|
|
|
+#ifdef _USE_OPENSSL
|
|
|
m_externalFunction2.setown(m_transform->createExternalFunction("siteCertificate", siteCertificateFunction));
|
|
|
m_transform->setExternalFunction(SEISINT_NAMESPACE, m_externalFunction2.get(), true);
|
|
|
#endif
|
|
@@ -2357,7 +2357,7 @@ void CDeploymentEngine::addDeploymentFile(StringBuffer &ret, const char *in, IXs
|
|
|
// siteCertificate
|
|
|
//---------------------------------------------------------------------------
|
|
|
/*static*/
|
|
|
-#ifdef USE_OPENSSL
|
|
|
+#ifdef _USE_OPENSSL
|
|
|
void CDeploymentEngine::siteCertificateFunction(StringBuffer &ret, const char *in, IXslTransform*)
|
|
|
{
|
|
|
//input is of the format <processType>+<process name>+<instance name>+<output path>
|
|
@@ -2402,7 +2402,7 @@ void CDeploymentEngine::processCustomMethod(const char* method, const char *sour
|
|
|
throw MakeStringException(0, "Process '%s': invalid method '%s' specified for file '%s'",
|
|
|
m_name.get(), method, fileName);
|
|
|
|
|
|
-#ifdef USE_OPENSSL
|
|
|
+#ifdef _USE_OPENSSL
|
|
|
siteCertificate(m_process, instanceName, outputFile);
|
|
|
#else
|
|
|
throw MakeStringException(0, "Process '%s' file '%s' method '%s': requires OpenSSL (disabled in build)",
|
|
@@ -2410,7 +2410,7 @@ void CDeploymentEngine::processCustomMethod(const char* method, const char *sour
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-#ifdef USE_OPENSSL
|
|
|
+#ifdef _USE_OPENSSL
|
|
|
//---------------------------------------------------------------------------
|
|
|
// processCustomMethod
|
|
|
//---------------------------------------------------------------------------
|