Re: update security/p5-Net_SSLeay with LibreSSL patch

2017-01-13 Thread Andrew Fresh
Wow, just found this that I thought I sent a week ago sitting in my drafts folder. Oops! On Thu, Jan 05, 2017 at 11:10:37PM +0100, Alexander Bluhm wrote: > On Wed, Jan 04, 2017 at 05:53:30PM +0100, Alexander Bluhm wrote: > > Net-SSLeay 1.79 provides a function RSA_get_key_parameters() that > > on

Re: update security/p5-Net_SSLeay with LibreSSL patch

2017-01-07 Thread Andrew Fresh
On Thu, Jan 05, 2017 at 11:10:37PM +0100, Alexander Bluhm wrote: > On Wed, Jan 04, 2017 at 05:53:30PM +0100, Alexander Bluhm wrote: > > Net-SSLeay 1.79 provides a function RSA_get_key_parameters() that > > only works with OpenSSL < 1.1. As it works also with our LibreSSL, > > I have added a #ifdef

Re: update security/p5-Net_SSLeay with LibreSSL patch

2017-01-05 Thread Alexander Bluhm
On Wed, Jan 04, 2017 at 05:53:30PM +0100, Alexander Bluhm wrote: > Net-SSLeay 1.79 provides a function RSA_get_key_parameters() that > only works with OpenSSL < 1.1. As it works also with our LibreSSL, > I have added a #ifdef for that. > > Now Net::SSLeay checks for #ifndef OPENSSL_NO_COMP. So th

Re: update security/p5-Net_SSLeay with LibreSSL patch

2017-01-04 Thread Alexander Bluhm
On Wed, Jan 04, 2017 at 08:10:07PM +0100, Alexander Bluhm wrote: > A IO::Socket::SSL test t/session_ticket.t fails now. Before it was > skipped as IO::Socket::SSL::can_ticket_keycb() checks for > $Net::SSLeay::VERSION > 1.78. So it never passed. I will investigate. We need the IO::Socket::SSL o

Re: update security/p5-Net_SSLeay with LibreSSL patch

2017-01-04 Thread Alexander Bluhm
On Wed, Jan 04, 2017 at 05:53:30PM +0100, Alexander Bluhm wrote: > ++skip 'openssl<1.1.0 required', 1 unless Net::SSLeay::SSLeay < 0x110 The version number 0x110 is wrong, it should be 0x1010, updated diff below. Now Net::SSLeay checks for #ifndef OPENSSL_NO_COMP. So the sub Net:

update security/p5-Net_SSLeay with LibreSSL patch

2017-01-04 Thread Alexander Bluhm
Hi, Net-SSLeay 1.79 provides a function RSA_get_key_parameters() that only works with OpenSSL < 1.1. As it works also with our LibreSSL, I have added a #ifdef for that. ok? bluhm Index: security/p5-Net_SSLeay/Makefile === RCS file

Re: p5-Net_SSLeay with LibreSSL

2014-07-12 Thread Giovanni Bechis
On Sat, Jul 12, 2014 at 06:01:37PM +0200, Alexander Bluhm wrote: > Hi, > > Make p5-Net-SSLeay compile and pass the regression tests with > LibreSSL. Unfortunatley there is manualy autogenerated code involved > to make Net::SSLeay::LIBRESSL_VERSION_NUMBER visible. This causes > a large diff. > >