Skip Menu |
 

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 52080
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Download (untitled) / with headers
text/plain 1.3k
Hello, The version of net-ssleay in SVN should already address these issues (at least it did with OpenSSL 1.0 beta1: I will double check with the latest release) Cheers. On Thu Nov 26 03:55:26 2009, KMX wrote: Show quoted text
> 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 Show quoted text
> an error during Net::SSLeay build (as MD2 is expected to be
supported). Show quoted text
> One solution is to make a custom build of openssl library with > "enable-md2" option however much nicer would be if Net::SSLeay
somehow Show quoted text
> detects if the openssl library we are gonna use was build with MD2
or not. Show quoted text
> > 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) Show quoted text
> SSLeay.c:2780: error: (Each undeclared identifier is reported only
once Show quoted text
> SSLeay.c:2780: error: for each function it appears in.) > SSLeay.c:2780: error: `RETVAL' undeclared (first use in this
function) Show quoted text
> ### > > I do not have a patch for this at the moment, I am just recording
the Show quoted text
> results of my test with openssl 1.0.0. > > -- > kmx
Download (untitled) / with headers
text/plain 105b
I have confoirmed that the version in SVN builds out of the box with openssl 1.0.0 beta4 out of the box


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.