Skip Menu |
 

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 74587
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: New function - Net::SSLeay::SSLeay() or SSLeayVersion()
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()

--
kmx
Subject: Re: [rt.cpan.org #74587] New function - Net::SSLeay::SSLeay() or SSLeayVersion()
Date: Wed, 01 Feb 2012 22:14:06 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 1.4k
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.
Subject: Re: [rt.cpan.org #74587] New function - Net::SSLeay::SSLeay() or SSLeayVersion()
Date: Fri, 03 Feb 2012 16:42:31 +0100
To: bug-Net-SSLeay [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Download (untitled) / with headers
text/plain 274b
Enhancement: unsigned long SSL_SSLeay() CODE: RETVAL = SSLeay(); OUTPUT: RETVAL const char * SSL_SSLeay_version(type=0) int type CODE: RETVAL = SSLeay_version(type); OUTPUT: RETVAL -- kmx
Subject: Re: [rt.cpan.org #74587] New function - Net::SSLeay::SSLeay() or SSLeayVersion()
Date: Fri, 03 Feb 2012 17:03:08 +0100
To: bug-Net-SSLeay [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Download (untitled) / with headers
text/plain 111b
Or simplified version: unsigned long SSLeay() const char * SSLeay_version(type=0) int type -- kmx
Subject: Re: [rt.cpan.org #74587] New function - Net::SSLeay::SSLeay() or SSLeayVersion()
Date: Sat, 04 Feb 2012 08:07:20 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 894b
Hi, On Friday, February 03, 2012 11:03:18 AM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=74587 > > > Or simplified version: > > unsigned long > SSLeay() > > const char * > SSLeay_version(type=0) > int type
OK. 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.
Subject: Re: [rt.cpan.org #74587] New function - Net::SSLeay::SSLeay() or SSLeayVersion()
Date: Sun, 05 Feb 2012 21:47:50 +0100
To: bug-Net-SSLeay [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Download (untitled) / with headers
text/plain 159b
This RT can be merged with [rt.cpan.org #74658] 'Which openssl versions does Net::SSLeay support?' It is a part of patch I have submitted to #74658. -- kmx


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.