Skip to content

Commit b92934a

Browse files
committed
Revert "Do not fail on systems running in FIPSmode."
This reverts commit 668451d.
1 parent b24d6a1 commit b92934a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

apt-pkg/contrib/hashes.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,6 @@ class PrivateHashes {
330330
exit(2);
331331
}
332332

333-
// It is OK for apt to use MD5.
334-
gcry_control(GCRYCTL_NO_FIPS_MODE, 0);
335-
336333
gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0);
337334
}
338335
}

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Build-Depends: cmake (>= 3.4),
1717
libbz2-dev,
1818
libdb-dev,
1919
libgnutls28-dev (>= 3.4.6),
20-
libgcrypt20-dev (>=1.10.0),
20+
libgcrypt20-dev,
2121
liblz4-dev (>= 0.0~r126),
2222
liblzma-dev,
2323
libseccomp-dev (>= 2.4.2) [amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x hppa powerpc powerpcspe ppc64 x32],

0 commit comments

Comments
 (0)