path: root/lib/libalpm/
diff options
authorAllan McRae <>2016-09-25 11:10:03 +0200
committerAllan McRae <>2016-10-10 02:37:21 +0200
commit05e1b8de1a96526c4e59745e7e4dc4a83a6383dd (patch)
tree562af4c78b9a17f757db811fbdd2d4b4bd071e5f /lib/libalpm/
parent0d2ba870c96d1b4b3d5fabfabe303bc6b1c989fd (diff)
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 <>
Diffstat (limited to 'lib/libalpm/')
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libalpm/ b/lib/libalpm/
index 4272ae72..945a6121 100644
--- a/lib/libalpm/
+++ b/lib/libalpm/
@@ -58,12 +58,6 @@ libalpm_la_SOURCES = \
util-common.h util-common.c \
-libalpm_la_SOURCES += \
- md5.h md5.c \
- sha2.h sha2.c
libalpm_la_LDFLAGS = -no-undefined -version-info $(LIB_VERSION_INFO)
libalpm_la_CFLAGS = \