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

Mike McCauley mikem at open.com.au
Wed Nov 30 22:59:59 UTC 2005


Hello Florian,


On Thursday 01 December 2005 01:13, Florian Ragwitz wrote:
> On Wed, Nov 30, 2005 at 11:54:09PM +1000, Mike McCauley wrote:
> > Hello Florian,
> >
> > On Wednesday 30 November 2005 23:22, Florian Ragwitz wrote:
> > > Hello,
> > >
> > > I'm the Debian maintainer of both IO::Socket::SSL and Net::SSLeay. I
> > > recently did a new upload of Net::SSLeay that was the first version
> > > compiled against the latest libssl version in Debian, 0.9.8a.
> > >
> > > With net-ssleay compiled against 098a the io-socket-ssl test suite
> > > fails with these errors: http://nopaste.debianforum.de/1709
> > >
> > > RT ticket #14176 also describes this issue.
> >
> > whats that RT ticket thing? where can I find it?
>
> See http://rt.cpan.org/NoAuth/Bugs.html?Dist=IO-Socket-SSL

interesting error in that report:

1..9
ok
SSL connect attempt failederror:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 
alert bad
record mac
 at blib/lib/IO/Socket/SSL.pm line 458
        IO::Socket::SSL::error('MyClass=GLOB(0x81efe5c)', 'SSL connect attempt
failed') called at blib/lib/IO/Socket/SSL.pm line 131
        IO::Socket::SSL::connect_SSL('MyClass=GLOB(0x81efe5c)',
'MyClass=GLOB(0x81efe5c)') called at blib/lib/IO/Socket/SSL.pm line 374
        IO::Socket::SSL::start_SSL('MyClass', 'MyClass=GLOB(0x81efe5c)') 
called at
t/compatibility.t line 45

I have seen similar errors start to occur when people have used the 0.9.8a 
prebuilt Windows binary openssl from shining light production

Tests here on Mandrake with openssl 0.9.8a are fine :-(
I will try some other platforms later today.


>
> > > With net-ssleay compiled against 097 everything works.
> > >
> > >
> > > I have no idea what's going wrong here. Any ideas?
> >
> > What version of  IO::Socket::SSL are you testing?
>
> The latest IO::Socket::SSL.
>
> > make test of IO::Socket::SSL is fine here with
> > perl v5.8.5
> > openssl 0.9.8
> > Net_SSLeay 1.25
> > IO-Socket-SSL-0.96
>
> What openssl version is your net-ssleay compiled for?
> (ldd /usr/lib/perl5/auto/Net/SSLeay/SSLeay.so, or whatever your path is)
>
>
> Regards,
> Flo

-- 
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