On jeudi 11 octobre 2018 10:39:18 CEST Ben Cooksley wrote:
> > I believe it also stores "accept this certificate for this session",
> > which makes sense on Windows as well....
> > 
> > Though not in unittests, I guess, so disabling it use on CI sounds like a
> > possibility. Not sure exactly how to do that though (no time to
> > investigate
> > right now).
> 
> Can it be disabled by a CMake flag by any chance?

Not at the moment, no. We could easily add a flag for "don't build kssld", 
like in the attached patch (-DBUILD_KSSLD=OFF) but we would still have client 
code trying to contact it, possibly generating many errors about not being 
able to do that.
Well. Do you want to try it in CI to see what happens?

-- 
David Faure, fa...@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5
diff --git i/CMakeLists.txt w/CMakeLists.txt
index 30b01289e0..8cbc64ddc9 100644
--- i/CMakeLists.txt
+++ w/CMakeLists.txt
@@ -40,6 +40,8 @@ option(KIO_FORK_SLAVES "If set we start the slaves via QProcess. It's also possi
 option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF)
 add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)")
 
+option(BUILD_KSSLD "Build KSSLD" ON)
+
 find_package(KF5Archive ${KF5_DEP_VERSION} REQUIRED)
 find_package(KF5Config ${KF5_DEP_VERSION} REQUIRED)
 find_package(KF5CoreAddons ${KF5_DEP_VERSION} REQUIRED)
diff --git i/src/CMakeLists.txt w/src/CMakeLists.txt
index c228e40d9a..13e3dbfdf7 100644
--- i/src/CMakeLists.txt
+++ w/src/CMakeLists.txt
@@ -5,7 +5,9 @@ add_subdirectory(protocoltojson)
 add_subdirectory(kntlm)
 add_subdirectory(ioslaves)
 add_subdirectory(kiod)
+if (BUILD_KSSLD)
 add_subdirectory(kssld)
+endif()
 add_subdirectory(kioslave)
 
 if (NOT KIOCORE_ONLY)

Reply via email to