On 2010-May-03 07:38:41 -0600, Stacy Millions <st...@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

Attachment: pgphL2t4tFu0F.pgp
Description: PGP signature

Reply via email to