[pacman-dev] [PATCH] [RFC] Remove internal md5 and sha2 implementations
Allan McRae
allan at archlinux.org
Sun Sep 25 10:32:39 UTC 2016
On 25/09/16 19:22, Allan McRae wrote:
> 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 if at least one
> library supporting checksum generation is not present, with the only library
> currently supported being openssl. It will be relatively simple for other
> such libraries to be supported if anyone wishes to add them.
>
> Signed-off-by: Allan McRae <allan at archlinux.org>
> ---
>
> The PolarSSL code has not been merged since 2010. PolarSSL has not existed
> for over a year...
>
Note we could also use openssl for our base64 calculation. I made an
attempt on my "base64" branch, but it is screwed up... I'll fix it one
day if no-one else does.
A
More information about the pacman-dev
mailing list