From b92934a1904cd6dd1dfdab283d27cd34ca2dbe44 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 4 Oct 2023 14:52:29 +0200 Subject: Revert "Do not fail on systems running in FIPSmode." This reverts commit 668451def296afeb0c358a7d80ff39dc546defab. --- apt-pkg/contrib/hashes.cc | 3 --- debian/control | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/apt-pkg/contrib/hashes.cc b/apt-pkg/contrib/hashes.cc index 80b9bbf3f..313b1d37d 100644 --- a/apt-pkg/contrib/hashes.cc +++ b/apt-pkg/contrib/hashes.cc @@ -330,9 +330,6 @@ public: exit(2); } - // It is OK for apt to use MD5. - gcry_control(GCRYCTL_NO_FIPS_MODE, 0); - gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0); } } diff --git a/debian/control b/debian/control index 440b17afb..ddd11b07b 100644 --- a/debian/control +++ b/debian/control @@ -17,7 +17,7 @@ Build-Depends: cmake (>= 3.4), libbz2-dev, libdb-dev, libgnutls28-dev (>= 3.4.6), - libgcrypt20-dev (>=1.10.0), + libgcrypt20-dev, liblz4-dev (>= 0.0~r126), liblzma-dev, libseccomp-dev (>= 2.4.2) [amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x hppa powerpc powerpcspe ppc64 x32], -- cgit v1.2.3-70-g09d2