From f0932dd1bb821dd2ff9d5bbe869df976dcb4a279 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Tue, 25 Jan 2022 14:15:07 +0100 Subject: [PATCH] Fix error in EDF NRT test Bug9100_DumpComputePosition.py --- src/KernelHelpers/SALOME_KernelServices.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); } -- 2.39.2