pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix compilation on OpenSSL 1.0.2 and LibreSSL
Date: Thu, 2 May 2024 13:30:09 +0300
Message-ID: <6f62a93d-3ebb-476f-8ff2-1187c790cd99@iki.fi> (raw)
In-Reply-To: <5EACEB09-BCBC-432A-A5B0-E8FD73808276@yesql.se>
References: <E1s1g0Z-000jeC-OR@gemulon.postgresql.org>
	<1C71E5C4-46BE-46B7-9884-310B25280B49@yesql.se>
	<5f162ff7-02f0-42f4-9473-53cfb7393bc3@iki.fi>
	<5EACEB09-BCBC-432A-A5B0-E8FD73808276@yesql.se>

On 02/05/2024 13:24, Daniel Gustafsson wrote:
>> On 2 May 2024, at 11:30, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>> And I don't see the symbol in a fresh checkout of the portable libressl repository at https://github.com/libressl/portable.
> 
> The portable repo only contains the portable parts, did you pull the libssl
> code with ./autogen?

Ah, ok, I did not.

   If so you should be able to see it, like below:
> 
> :~/dev/tls/libressl $ git clone git@github.com:libressl/portable.git
> :~/dev/tls/libressl $ cd portable/
> :~/dev/tls/libressl/portable (master) $ git checkout OPENBSD_7_0
> branch 'OPENBSD_7_0' set up to track 'origin/OPENBSD_7_0'.
> Switched to a new branch 'OPENBSD_7_0'
> :~/dev/tls/libressl/portable (OPENBSD_7_0) $ ./autogen.sh
> 	...
> :~/dev/tls/libressl/portable (OPENBSD_7_0) $ cd openbsd/
> :~/dev/tls/libressl/portable/openbsd (OPENBSD_7_0) $ git grep SSL_AD_NO_APPLICATION_PROTOCOL
> src/lib/libssl/ssl.h:#define SSL_AD_NO_APPLICATION_PROTOCOL             120
> src/lib/libssl/ssl_tlsext.c:    *alert = SSL_AD_NO_APPLICATION_PROTOCOL;
> 
> This makes targeting 7.0 as the lowest LibreSSL version appealing in my
> patchset for removing support for old OpenSSL and LibreSSL versions.

Works for me. Although there's little harm in keeping the "#ifdef 
SSL_AD_NO_APPLICATION_PROTOCOL" either, if that's the only thing missing 
from 6.9.

-- 
Heikki Linnakangas
Neon (https://neon.tech)






view thread (7+ messages)  latest in thread

Message-ID: <6f62a93d-3ebb-476f-8ff2-1187c790cd99@iki.fi>
Permalink:  ../6f62a93d-3ebb-476f-8ff2-1187c790cd99@iki.fi/
Also on:    postgresql.org/message-id/6f62a93d-3ebb-476f-8ff2-1187c790cd99@iki.fi

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: hlinnaka@iki.fi, daniel@yesql.se, heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix compilation on OpenSSL 1.0.2 and LibreSSL
  In-Reply-To: <6f62a93d-3ebb-476f-8ff2-1187c790cd99@iki.fi>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox