Skip Menu |

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

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

People
Owner: MIKEM [...] cpan.org
Requestors: swall [...] redcom.com
Cc:
AdminCc:

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



Subject: bug in Net-SSLeay
Date: Mon, 29 Aug 2016 15:48:51 +0000
To: "bug-Net-SSLeay [...] rt.cpan.org" <bug-Net-SSLeay [...] rt.cpan.org>
From: "Wall, Stephen" <swall [...] redcom.com>
Net-SSLeay fails to compile if the OpenSSL library it's built against has compression support compiled out. Condition compilation using OPENSSL_NO_COMP is needed in SSLeay.xs.
Subject: Re: [rt.cpan.org #117298] bug in Net-SSLeay
Date: Mon, 29 Aug 2016 19:03:53 +0200
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Thanks. I'm travelling until October and won't be able to help with this until then. A patch would be welcome in the meantime Sent from my iPhone Show quoted text
> On 29 Aug 2016, at 5:49 PM, Wall, Stephen via RT <bug-Net-SSLeay@rt.cpan.org> wrote: > > Mon Aug 29 11:49:06 2016: Request 117298 was acted upon. > Transaction: Ticket created by swall@redcom.com > Queue: Net-SSLeay > Subject: bug in Net-SSLeay > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: swall@redcom.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=117298 > > > > Net-SSLeay fails to compile if the OpenSSL library it's built against has compression support compiled out. > > Condition compilation using OPENSSL_NO_COMP is needed in SSLeay.xs. > >
Subject: RE: [rt.cpan.org #117298] bug in Net-SSLeay
Date: Mon, 29 Aug 2016 17:17:02 +0000
To: "bug-Net-SSLeay [...] rt.cpan.org" <bug-Net-SSLeay [...] rt.cpan.org>
From: "Wall, Stephen" <swall [...] redcom.com>
--- SSLeay.xs.old 2016-08-29 11:14:58.517864921 -0400 +++ SSLeay.xs 2016-08-29 13:15:18.863853238 -0400 @@ -166,7 +166,9 @@ #include <openssl/buffer.h> #include <openssl/ssl.h> #include <openssl/pkcs12.h> +#ifndef OPENSSL_NO_COMP #include <openssl/comp.h> /* openssl-0.9.6a forgets to include this */ +#endif #ifndef OPENSSL_NO_MD2 #include <openssl/md2.h> #endif @@ -4146,10 +4148,12 @@ #endif +#ifndef OPENSSL_NO_COMP int SSL_COMP_add_compression_method(id,cm) int id COMP_METHOD * cm +#endif int SSL_CTX_add_client_CA(ctx,x) Show quoted text
> -----Original Message----- > From: Mike McCauley via RT [mailto:bug-Net-SSLeay@rt.cpan.org] > Sent: Monday, August 29, 2016 1:13 PM > To: Wall, Stephen <swall@redcom.com> > Subject: Re: [rt.cpan.org #117298] bug in Net-SSLeay > > <URL: https://rt.cpan.org/Ticket/Display.html?id=117298 > > > Thanks. > I'm travelling until October and won't be able to help with this until > then. > A patch would be welcome in the meantime > > Sent from my iPhone >
> > On 29 Aug 2016, at 5:49 PM, Wall, Stephen via RT <bug-Net-
> SSLeay@rt.cpan.org> wrote:
> > > > Mon Aug 29 11:49:06 2016: Request 117298 was acted upon. > > Transaction: Ticket created by swall@redcom.com > > Queue: Net-SSLeay > > Subject: bug in Net-SSLeay > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: swall@redcom.com > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=117298 > > > > > > > Net-SSLeay fails to compile if the OpenSSL library it's built against
> has compression support compiled out.
> > > > Condition compilation using OPENSSL_NO_COMP is needed in SSLeay.xs. > > > >
>
Subject: Re: [rt.cpan.org #117298] bug in Net-SSLeay
Date: Thu, 20 Oct 2016 11:03:29 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Thanks Stephen, Your patch is now in SVN 480. Sorry for the delay. Cheers. On Monday, August 29, 2016 01:17:17 PM Wall, Stephen via RT wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=117298 > > > --- SSLeay.xs.old 2016-08-29 11:14:58.517864921 -0400 > +++ SSLeay.xs 2016-08-29 13:15:18.863853238 -0400 > @@ -166,7 +166,9 @@ > #include <openssl/buffer.h> > #include <openssl/ssl.h> > #include <openssl/pkcs12.h> > +#ifndef OPENSSL_NO_COMP > #include <openssl/comp.h> /* openssl-0.9.6a forgets to include this */ > +#endif > #ifndef OPENSSL_NO_MD2 > #include <openssl/md2.h> > #endif > @@ -4146,10 +4148,12 @@ > > #endif > > +#ifndef OPENSSL_NO_COMP > int > SSL_COMP_add_compression_method(id,cm) > int id > COMP_METHOD * cm > +#endif > > int > SSL_CTX_add_client_CA(ctx,x) >
> > -----Original Message----- > > From: Mike McCauley via RT [mailto:bug-Net-SSLeay@rt.cpan.org] > > Sent: Monday, August 29, 2016 1:13 PM > > To: Wall, Stephen <swall@redcom.com> > > Subject: Re: [rt.cpan.org #117298] bug in Net-SSLeay > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=117298 > > > > > Thanks. > > I'm travelling until October and won't be able to help with this until > > then. > > A patch would be welcome in the meantime > > > > Sent from my iPhone > >
> > > On 29 Aug 2016, at 5:49 PM, Wall, Stephen via RT <bug-Net-
> > > > SSLeay@rt.cpan.org> wrote:
> > > Mon Aug 29 11:49:06 2016: Request 117298 was acted upon. > > > Transaction: Ticket created by swall@redcom.com > > > > > > Queue: Net-SSLeay > > > > > > Subject: bug in Net-SSLeay > > > > > > Broken in: (no value) > > > > > > Severity: (no value) > > > > > > Owner: Nobody > > > > > > Requestors: swall@redcom.com > > > > > > Status: new > > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=117298 > > > > > > > > > > Net-SSLeay fails to compile if the OpenSSL library it's built against
> > > > has compression support compiled out. > >
> > > Condition compilation using OPENSSL_NO_COMP is needed in SSLeay.xs.
-- 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