Skip to content

Commit

Permalink
Disable MD5 and SHA-1 by default
Browse files Browse the repository at this point in the history
By default, we will build OpenSCAP without MD5 and SHA1 hash functions.
As a result, filehash probe won't be built by default.

Fixes: OpenSCAP#1784
  • Loading branch information
jan-cerny committed Jun 4, 2024
1 parent 6f6f176 commit f00b2d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f00b2d8

Please sign in to comment.