summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/contrib/hashes.cc3
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);
}
}