Subject: | Incompatibility with openssl-1.0.0 |
Hi,
I have just tested to build Net::SSLeay (1.35) module with
openssl-1.0.0-beta4 library.
There are basically 2 issues preventing a successful build:
1) Since 1.0.0 openssl has MD2 support disabled by default which causes
an error during Net::SSLeay build (as MD2 is expected to be supported).
One solution is to make a custom build of openssl library with
"enable-md2" option however much nicer would be if Net::SSLeay somehow
detects if the openssl library we are gonna use was build with MD2 or not.
2) Openssl 1.0.0 also seems to introduce a change in openssl/lhash.h
(related to LHASH) that causes the following errors:
###
SSLeay.c: In function `XS_Net__SSLeay_CTX_sessions':
SSLeay.c:2780: error: `LHASH' undeclared (first use in this function)
SSLeay.c:2780: error: (Each undeclared identifier is reported only once
SSLeay.c:2780: error: for each function it appears in.)
SSLeay.c:2780: error: `RETVAL' undeclared (first use in this function)
###
I do not have a patch for this at the moment, I am just recording the
results of my test with openssl 1.0.0.
--
kmx