Skip Menu |

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

Report information
The Basics
Id: 122916
Status: resolved
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: alexander.bluhm [...] gmx.net
Cc:
AdminCc:

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



Subject: no NPN in LibreSSL, fix OPENSSL_NO_NEXTPROTONEG
Current LibreSSL has removed the support for NPN and it defines OPENSSL_NO_NEXTPROTONEG to indicate that. Unfortunately Net::SSLeay does not build correctly if that define is set. The functions next_proto_helper_protodata2AV() and next_proto_helper_AV2protodata() are used by NEXTPROTONEG and TLSEXT. Also skip the NPN test if the SSL library is LibreSSL. Attaches patches fix both issues.
Subject: patch-SSLeay_xs
Download patch-SSLeay_xs
application/octet-stream 816b

Message body not shown because it is not plain text.

Subject: patch-t_local_40_npn_support_t
Download patch-t_local_40_npn_support_t
application/octet-stream 410b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #122916] no NPN in LibreSSL, fix OPENSSL_NO_NEXTPROTONEG
Date: Tue, 29 Aug 2017 06:41:37 +0800
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Thanks for the patch I am travelling right now and won't be able to fix this until October Sent from my iPhone Show quoted text
> On 29 Aug 2017, at 5:10 am, Alexander Bluhm via RT <bug-Net-SSLeay@rt.cpan.org> wrote: > > Mon Aug 28 17:10:49 2017: Request 122916 was acted upon. > Transaction: Ticket created by bluhm > Queue: Net-SSLeay > Subject: no NPN in LibreSSL, fix OPENSSL_NO_NEXTPROTONEG > Broken in: 1.81 > Severity: (no value) > Owner: Nobody > Requestors: alexander.bluhm@gmx.net > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122916 > > > > Current LibreSSL has removed the support for NPN and it defines > OPENSSL_NO_NEXTPROTONEG to indicate that. Unfortunately Net::SSLeay > does not build correctly if that define is set. The functions > next_proto_helper_protodata2AV() and next_proto_helper_AV2protodata() > are used by NEXTPROTONEG and TLSEXT. > > Also skip the NPN test if the SSL library is LibreSSL. > > Attaches patches fix both issues. > <patch-SSLeay_xs> > <patch-t_local_40_npn_support_t>
Subject: Re: [rt.cpan.org #122916] no NPN in LibreSSL, fix OPENSSL_NO_NEXTPROTONEG
Date: Fri, 29 Sep 2017 14:17:28 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Thanks Alexander, your patches are now in SVN and will appear in the next release. Cheers. On Monday, 28 August 2017 5:10:51 PM AEST you wrote: Show quoted text
> Mon Aug 28 17:10:49 2017: Request 122916 was acted upon. > Transaction: Ticket created by bluhm > Queue: Net-SSLeay > Subject: no NPN in LibreSSL, fix OPENSSL_NO_NEXTPROTONEG > Broken in: 1.81 > Severity: (no value) > Owner: Nobody > Requestors: alexander.bluhm@gmx.net > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=122916 > > > > Current LibreSSL has removed the support for NPN and it defines > OPENSSL_NO_NEXTPROTONEG to indicate that. Unfortunately Net::SSLeay > does not build correctly if that define is set. The functions > next_proto_helper_protodata2AV() and next_proto_helper_AV2protodata() > are used by NEXTPROTONEG and TLSEXT. > > Also skip the NPN test if the SSL library is LibreSSL. > > Attaches patches fix both issues.
-- Mike McCauley VK4AMM mikem@airspayce.com Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.airspayce.com Phone +61 7 5598-7474