From: Anthony Geay Date: Tue, 25 Jan 2022 13:15:07 +0000 (+0100) Subject: Fix error in EDF NRT test Bug9100_DumpComputePosition.py X-Git-Tag: EMC2P_V_1_3_5-rc1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f0932dd1bb821dd2ff9d5bbe869df976dcb4a279;p=modules%2Fkernel.git Fix error in EDF NRT test Bug9100_DumpComputePosition.py --- diff --git a/src/KernelHelpers/SALOME_KernelServices.cxx b/src/KernelHelpers/SALOME_KernelServices.cxx index 3b12354a0..fdb2d275e 100644 --- a/src/KernelHelpers/SALOME_KernelServices.cxx +++ b/src/KernelHelpers/SALOME_KernelServices.cxx @@ -22,6 +22,7 @@ #include "SALOME_KernelServices.hxx" #include "SALOME_Fake_NamingService.hxx" #include "Utils_SALOME_Exception.hxx" +#include "KernelBasis.hxx" #include #include @@ -51,7 +52,10 @@ namespace KERNEL { { if ( !_naming_service.get() ) { - _naming_service.reset( new SALOME_NamingService(getORB()) ); + if(getSSLMode()) + _naming_service.reset( new SALOME_Fake_NamingService ); + else + _naming_service.reset( new SALOME_NamingService(getORB()) ); } return _naming_service.get(); }