From f00b2d863d0a901795b306e66015c2c453f71c48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cern=C3=BD?= Date: Tue, 4 Jun 2024 16:04:32 +0200 Subject: [PATCH] Disable MD5 and SHA-1 by default By default, we will build OpenSCAP without MD5 and SHA1 hash functions. As a result, filehash probe won't be built by default. Fixes: #1784 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 05fbd382b3..d5e945cac8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -263,8 +263,8 @@ if (WIN32) endif() cmake_dependent_option(ENABLE_PROBES_WINDOWS "build OVAL probes for the Windows OVAL tests" ${IS_WIN32} "ENABLE_PROBES" OFF) -option(OPENSCAP_ENABLE_SHA1 "Enable using the SHA-1 algorithm" ON) -option(OPENSCAP_ENABLE_MD5 "Enable using the MD5 algorithm" ON) +option(OPENSCAP_ENABLE_SHA1 "Enable using the SHA-1 algorithm" OFF) +option(OPENSCAP_ENABLE_MD5 "Enable using the MD5 algorithm" OFF) # INDEPENDENT PROBES cmake_dependent_option(OPENSCAP_PROBE_INDEPENDENT_ENVIRONMENTVARIABLE "Independent environmentvariable probe" ON "ENABLE_PROBES_INDEPENDENT" OFF)