diff options
| author | Julian Andres Klode <jak@debian.org> | 2023-07-11 13:49:18 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2023-07-11 13:49:18 +0000 |
| commit | f26a15a3f9b020dcd5c5203bd73133c8d647c99c (patch) | |
| tree | 7efb07f6b8924f3269413ead0a15a6dafefadca5 /apt-pkg | |
| parent | 7bb2b81090b1a5bd9ebb49a0d9fd5cfd9ddab95f (diff) | |
| parent | 668451def296afeb0c358a7d80ff39dc546defab (diff) | |
Merge branch 'main' into 'main'
Do not fail on systems running in FIPSmode.
See merge request apt-team/apt!295
Diffstat (limited to 'apt-pkg')
| -rw-r--r-- | apt-pkg/contrib/hashes.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/contrib/hashes.cc b/apt-pkg/contrib/hashes.cc index 313b1d37d..80b9bbf3f 100644 --- a/apt-pkg/contrib/hashes.cc +++ b/apt-pkg/contrib/hashes.cc @@ -330,6 +330,9 @@ public: exit(2); } + // It is OK for apt to use MD5. + gcry_control(GCRYCTL_NO_FIPS_MODE, 0); + gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0); } } |
