[Net-ssleay-devel] IO::Socket::SSL failures caused by Net::SSLeay linked against openssl 0.9.8

Mike McCauley mikem at open.com.au
Thu Dec 1 06:59:57 UTC 2005


Hello Florian,

On Thursday 01 December 2005 12:09, Florian Ragwitz wrote:
> On Thu, Dec 01, 2005 at 09:54:29AM +1000, Mike McCauley wrote:
> > Hmmm, tested OK here with
> >
> > Debian 3.1r0a
> > perl, v5.8.4 part of default deb install
> > openssl 0.9.8a compiled locally with all defaults
> > Net_SSLeay 1.25 compiled locally with all defaults
> > IO-Socket-SSL 0.97 compiled locally with all defaults:
>
> That's stable. Please try unstable with the packages for all those
> modules.

OK, I have tried with latest etch beta1 i386, using the prepackaged perl 5.8.7 
openssl 0.9.8a and ssl-dev installed with netinst, but still cant reproduce 
your errors:

There were a number of compile time warnings when compiling Net_SSLeay 1.25 
like this:
SSLeay.xs: In function 'XS_Net__SSLeay_RAND_bytes':
SSLeay.xs:2364: warning: pointer targets in passing argument 3 of 
'Perl_sv_setpvn' differ in signedness

When I built and tested IO-Socket-SSL 0.97, I got a different set of errors to 
you, but only affecting core.t. These look like minor strictness issues.


mikem at pc-00164:~/IO-Socket-SSL-0.97$ make test


cp SSL.pm blib/lib/IO/Socket/SSL.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01loadmodule.....ok
t/02settings.......ok
t/compatibility....ok
t/core.............ok 1/53Use of uninitialized value in string ne at t/core.t 
line 264.
t/core.............NOK 12Use of uninitialized value in string ne at t/core.t 
line 278.
t/core.............NOK 13Use of uninitialized value in string ne at t/core.t 
line 283.
t/core.............NOK 15Use of uninitialized value in string ne at t/core.t 
line 291.
t/core.............NOK 17Use of uninitialized value in numeric ne (!=) at 
t/core.t line 299.
t/core.............NOK 18Use of uninitialized value in string ne at t/core.t 
line 302.
t/core.............NOK 19Use of uninitialized value in string ne at t/core.t 
line 305.
t/core.............NOK 20Use of uninitialized value in join or string at 
t/core.t line 308.
Use of uninitialized value in join or string at t/core.t line 308.
Use of uninitialized value in join or string at t/core.t line 308.
t/core.............dubious
        Test returned status 0 (wstat 13, 0xd)
DIED. FAILED tests 11-53
        Failed 43/53 tests, 18.87% okay
t/sessions.........skipped
        all skipped: Net::SSLeay version less than 1.26
Failed Test Stat Wstat Total Fail  Failed  List of Failed

>
> > mikem at valerie:~/IO-Socket-SSL-0.97$ make test
> > cp SSL.pm blib/lib/IO/Socket/SSL.pm
> > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> > t/01loadmodule.....ok
> > t/02settings.......ok
> > t/compatibility....ok
> > t/core.............ok
> > t/sessions.........skipped
> >         all skipped: Net::SSLeay version less than 1.26
> > All tests successful, 1 test skipped.
> > Files=5, Tests=67,  1 wallclock secs ( 0.90 cusr +  0.10 csys =  1.00
> > CPU)

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS, NetWare etc.



More information about the Net-ssleay-devel mailing list