[openssl-dev] [openssl.org #3605] bug report: compilation error and fix for OpenSSL on Cygwin64

Corinna Vinschen vinschen at redhat.com
Sat Dec 6 12:59:40 EST 2014


On Dec  6 18:24, Francis ANDRE via RT wrote:
> Hi Corinna
> 
> See my comments thru the mail.
> 
> 
> Le 06/12/2014 13:53, Corinna Vinschen via RT a écrit :
> > On Dec  5 18:06, Andy Polyakov via RT wrote:
> >>> OpenSSL is currently not supported under Cygwin64.
> >> Support for Cygwin64 will appear in 1.0.2, so that I'd like to hear a
> >> little bit more about what kind of problem does it cause. The Cygwin64
> >> support was submitted by Cygwin maintainer, and no additional issues
> >> were reported.
> > So far we didn't encounter any issues, but the OP is right.  The
> > __CYGWIN32__ definition is very old and was already deprecated in the
> > late 1990's in favor of __CYGWIN__.  As long as there was only a 32 bit
> > Cygwin anyway, that was no problem, but it's now.
> >
> > I inspected the remaining two places where __CYGWIN32__ is used, and
> > both shouldn't result in problems:
> >
> > e_os2.h:
> >
> >    # if defined(__CYGWIN32__) || defined(OPENSSL_SYSNAME_CYGWIN32)
> >
> > OPENSSL_SYSNAME_CYGWIN32 is set anyway, so the additional check for
> > __CYGWIN32__ is redundant.
> Not exactly true. In the package OpenSSL_Win32 delivered by 
> http://slproweb.com/products/Win32OpenSSL.html, the 
> OPENSSL_SYSNAME_CYGWIN32 is never defined, thus the conditional 
> expression of the #if statement is alxays false which leads to the 
> compile error.

Then that package needs fixing.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mta.opensslfoundation.net/pipermail/openssl-dev/attachments/20141206/20248b84/attachment.sig>


More information about the openssl-dev mailing list