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?
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]