--- 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.
> >
> >
>