Re: OpenSSL conflicts with wincrypt.h - Mailing list pgsql-hackers

From Tom Lane
Subject Re: OpenSSL conflicts with wincrypt.h
Date
Msg-id 2026884.1644593774@sss.pgh.pa.us
Whole thread Raw
In response to OpenSSL conflicts with wincrypt.h  (Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>)
Responses Re: OpenSSL conflicts with wincrypt.h
List pgsql-hackers
=?UTF-8?Q?Juan_Jos=C3=A9_Santamar=C3=ADa_Flecha?= <juanjo.santamaria@gmail.com> writes:
> There is a comment in 'src/backend/libpq/be-secure-openssl.c' addressing
> this issue, but I have to explicitly undefine X509_NAME. Please find
> attached a patch for so.

Um ... why?  Shouldn't the #undef in the OpenSSL headers take care
of the problem?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Juan José Santamaría Flecha
Date:
Subject: pg_receivewal.exe unhandled exception in zlib1.dll
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Add TAP test to automate the equivalent of check_guc