From b8b6a436e99cfad18775c24b1ff01bcf94e495c1 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 22 Jul 2016 21:37:29 +0200 Subject: [PATCH] Related: #1324623 Add missing definitions to the crypt-glibc/Makefile, so that the cryptographic tests can be built. --- glibc-rh1324623.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/glibc-rh1324623.patch b/glibc-rh1324623.patch index 3c87463..ffa449e 100644 --- a/glibc-rh1324623.patch +++ b/glibc-rh1324623.patch @@ -10,7 +10,7 @@ Index: b/crypt-glibc/Makefile =================================================================== --- /dev/null +++ b/crypt-glibc/Makefile -@@ -0,0 +1,51 @@ +@@ -0,0 +1,60 @@ +# Build libcrypt against internal cryptographic algorithms. +# Copyright (C) 1996-2016 Free Software Foundation, Inc. +# This file is part of the GNU C Library. @@ -57,6 +57,15 @@ Index: b/crypt-glibc/Makefile + +include ../Rules + ++md5-routines := md5 $(filter md5%,$(libcrypt-sysdep_routines)) ++sha256-routines := sha256 $(filter sha256%,$(libcrypt-sysdep_routines)) ++sha512-routines := sha512 $(filter sha512%,$(libcrypt-sysdep_routines)) ++ ++$(objpfx)md5test: $(patsubst %, $(objpfx)%.o,$(md5-routines)) ++$(objpfx)md5test-giant: $(patsubst %, $(objpfx)%.o,$(md5-routines)) ++$(objpfx)sha256test: $(patsubst %, $(objpfx)%.o,$(sha256-routines)) ++$(objpfx)sha512test: $(patsubst %, $(objpfx)%.o,$(sha512-routines)) ++ +ifeq (yes,$(build-shared)) +$(addprefix $(objpfx),$(tests)): $(objpfx)libcrypt.so +else