Subject: | Net::SSLeay does not support openssl with md4 or md5 disabled |
Date: | Fri, 31 Jul 2015 17:16:51 +0000 |
To: | "bug-Net-SSLeay [...] rt.cpan.org" <bug-Net-SSLeay [...] rt.cpan.org> |
From: | "Kaduk, Ben" <bkaduk [...] akamai.com> |
It seems to be getting more common to use an openssl installation with old
and unneeded features disabled. Support for md2 was already
conditionalized, giving a good example from which to copy.
The attached patch does the simple wrapping in #ifndef OPENSSL_NO_MD[45],
though I expect X509_get_fingerprint() could get a more friendly error
message if md5 is not available.
-Ben Kaduk
Message body is not shown because sender requested not to inline it.