]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
SALOME_Container\(_No_Serv\) executables set SSLMode singleton properly
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 20 Aug 2021 13:32:19 +0000 (15:32 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 20 Aug 2021 13:32:19 +0000 (15:32 +0200)
src/Container/SALOME_Container_Common.cxx

index 129dd8997ab6f2977288c55a1969e82e556c2329..32e7525743281e3a083797ba4daec63c46a742ec 100644 (file)
@@ -54,6 +54,7 @@
 #include "Utils_ORB_INIT.hxx"
 #include "Utils_SINGLETON.hxx"
 #include "OpUtil.hxx"
+#include "KernelBasis.hxx"
 
 #ifdef CHECKTIME
 #include <Utils_Timer.hxx>
@@ -129,6 +130,7 @@ void unexpectedHandler(void)
 
 int container_common_main(int argc, char* argv[], std::unique_ptr<SALOME_NamingService_Container_Abstract> ns)
 {
+  setSSLMode(!ns->IsTrueNS());
 #ifdef _MPI_SEQ_CONTAINER_
   #ifdef HAVE_MPI2
   MPI_Init(&argc,&argv);