On Wednesday, February 01, 2012 06:43:10 AM you wrote:
Show quoted text> Wed Feb 01 06:43:08 2012: Request 74587 was acted upon.
> Transaction: Ticket created by KMX
> Queue: Net-SSLeay
> Subject: New function - Net::SSLeay::SSLeay() or SSLeayVersion()
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: kmx@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=74587 >
>
>
> I propose adding just a simple wrapper around openssl's "unsigned long
> SSLeay(void)"
>
> like this:
>
> unsigned long
> SSL_SSLeay()
> CODE:
> RETVAL = SSLeay();
> OUTPUT:
> RETVAL
>
> Not sure what name would be better: Net::SSLeay::SSLeay() or
> Net::SSLeay::SSLeayVersion()
I would be prefer to be consistent with the name of the underlying library
function
You should only need:
int
SSL_SSLeay()
Show quoted text>
> --
> kmx
--
Mike McCauley mikem@open.com.au
Open System Consultants Pty. Ltd
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, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.