Ulf M�ller wrote:
>
> There are bugs in openssl/perl (already in SSLeay 0.9.0).
>
> The bignum library works fine:
>
> use OpenSSL;
> my $bn=OpenSSL::BN::dec2bn(5);
> print $bn;
>
> But for SSL the destructor is called immediately (as you can see in
> the debug output), and when the SSL object should really be destroyed
> it dumps core:
>
> use OpenSSL;
> my $ctx=OpenSSL::SSL::CTX::new("SSLv3");
> print "CTX $ctx\n";
> my $ssl=OpenSSL::SSL::new($ctx);
> print "SSL $ssl\n";
>
> How is SSL different from the other data structures?
If you poke around in the .xs stuff, you'll see there's a lot of weird
stuff going on with reference counting (at least, that's what I remember
from when I poked around).
If you just care about SSL, I fixed Crypt::SSLeay the other day...
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]