[pacman-dev] [PATCH 2/3] Use OpenSSL MD5 crypto functions if available

Jürgen Hötzel juergen at archlinux.org
Sat Sep 4 05:16:39 EDT 2010


Hi Dan,

2010/9/2 Dan McGee <dan at archlinux.org>:
> This does not remove the MD5 code from our codebase, but it does enable
> linking against OpenSSL to get their much faster implementation if it is
> available on whatever platform you are using. At configure-time, we will
> default to using it if it is available, but this can be easily changed by
> using the `--with-openssl` or `--without-openssl` arguments to configure.

What about just replacing the current MD5 implementation with the
OpenSSL implementation?

This would prevent conditional compilation and a direct OpenSSL
dependency in libalpm.

Jürgen


More information about the pacman-dev mailing list