From 05e1b8de1a96526c4e59745e7e4dc4a83a6383dd Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 25 Sep 2016 19:10:03 +1000 Subject: Remove internal md5 and sha2 implementations The internal implementations for md5 and sha256 checksums have not been merged from upstream sources for a long time. Instead of us carrying copies of code from other projects, we should just support building against multiple libraries that provide such functionality. This patch removes the md5 and sha2 code (originally obtained from PolarSSL) from our repository. The configure script will now error unless at least one library supporting checksum generation is present, with the only library currently supported being openssl. It will be relatively simple for other such libraries (e.g. nettle) to be supported if anyone wishes to add them. Signed-off-by: Allan McRae --- lib/libalpm/Makefile.am | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/libalpm/Makefile.am') diff --git a/lib/libalpm/Makefile.am b/lib/libalpm/Makefile.am index 4272ae72..945a6121 100644 --- a/lib/libalpm/Makefile.am +++ b/lib/libalpm/Makefile.am @@ -58,12 +58,6 @@ libalpm_la_SOURCES = \ util-common.h util-common.c \ version.c -if !HAVE_LIBSSL -libalpm_la_SOURCES += \ - md5.h md5.c \ - sha2.h sha2.c -endif - libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO) libalpm_la_CFLAGS = \ -- cgit v1.2.3-24-g4f1b