MD2 Dependency in FreeBSD 8.0 - OpenSSL 1.0.0 Needs MD2 enabled

Peter Jeremy peterjeremy at
Mon May 3 21:08:00 UTC 2010

On 2010-May-03 07:38:41 -0600, Stacy Millions <stacy at Millions.Ca> wrote:
>I have been playing with porting heimdal 1.3.2 for a couple days now; as 
>far as I can tell, MD2 is not optional for heimdal. I see three options
>- build openssl 1.0.0 with MD2
>- build heimdal with hcrypto (it won't use openssl then)
>- patch heimdal to remove MD2 support

4) patch heimdal to dynamically detect the presence of MD2

Use dlsym(3) to check for the presence of MD2_Init() (and friends).
If they exist, support the MD2-based algorithms, otherwise return
HX509_ALG_NOT_SUPP if they are invoked.

Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url :

More information about the freebsd-ports mailing list