diff options
authorFabrice Fontaine <>2018-11-14 20:26:54 (GMT)
committerWaldemar Brodkorb <>2018-11-25 13:44:59 (GMT)
commit2f3c3035c6fe81533817d1a451f15b2ef95da763 (patch)
parent9f079b6353df761bd9219946a0cb861a221bd9bc (diff)
Add NO_CRYPT to fix build with glibc 2.28
Since glibc 2.28 (, the obsolete functions encrypt, encrypt_r, setkey, setkey_r, cbc_crypt, ecb_crypt, and des_setparity are no longer available to newly linked binaries, and the headers <rpc/des_crypt.h> and <rpc/rpc_des.h> are no longer installed. These functions encrypted and decrypted data with the DES block cipher, which is no longer considered secure. Software that still uses these functions should switch to a modern cryptography library, such as libgcrypt. So add a NO_CRYPT variable to disable test/crypt Fixes: - Signed-off-by: Fabrice Fontaine <>
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 5a136ea..6690d25 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -39,6 +39,10 @@ ifeq ($(NO_MATH),1)
DIRS := $(filter-out math,$(DIRS))
+ifeq ($(NO_CRYPT),1)
+DIRS := $(filter-out crypt,$(DIRS))
test check all: run
run: subdirs_run