Re: Windows: openssl & gssapi dislike each other

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Dave Page <dpage(at)pgadmin(dot)org>, Imran Zaheer <imran(dot)zhir(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Windows: openssl & gssapi dislike each other
Date: 2024-06-11 11:22:18
Message-ID: d4afe789-7f01-4c46-b08d-f364f0cd5fad@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2024-06-11 Tu 05:19, Dave Page wrote:
> Hi
>
> On Sun, 9 Jun 2024 at 08:29, Imran Zaheer <imran(dot)zhir(at)gmail(dot)com> wrote:
>
> Hi
>
> I am submitting two new patches. We can undefine the macro at two
> locations
>
> 1). As be-secure-openssl.c [1] was the actual
> file where the conflict happened so I undefined the macro here before
> the ssl includes. I changed the comment a little to make it
> understandable.
> I am also attaching the error generated with ninja build.
>
> OR
>
> 2). Right after the gssapi includes in libpq-be.h
>
>
> Thank you for working on this. I can confirm the undef version
> compiles and passes tests with 16.3.
>

Thanks for testing.

I think I prefer approach 2, which should also allow us to remove the
#undef in sslinfo.c so we only need to do this in one place.

cheers

andrew

--
Andrew Dunstan
EDB:https://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2024-06-11 11:31:56 Re: Addressing SECURITY DEFINER Function Vulnerabilities in PostgreSQL Extensions
Previous Message Michail Nikolaev 2024-06-11 11:00:00 Issues with ON CONFLICT UPDATE and REINDEX CONCURRENTLY