Re: BUG #17391: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL tests fail on OpenBSD 7.0

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: byavuz81@gmail.com, pgsql-bugs@lists.postgresql.org
Cc: Heikki Linnakangas <heikki.linnakangas@iki.fi>, Michael Paquier <michael@paquier.xyz>
Date: 2022-02-02T21:39:00Z
Lists: pgsql-bugs
Hi,

Daniel, Heikki, Michael CCing you as you seem to have worked most on those
tests and libressl fixes.

On 2022-02-02 19:19:22 +0000, PG Bug reporting form wrote:
> While installing PostgreSQL from source code,  SSL tests fail on OpenBSD
> 7.0.
> 
> OpenSSL Version:
> LibreSSL 3.4.1

Do we expect the SSL tests to pass when using libressl? If not, we should make
the ssl tests SKIP when using libressl...

Greetings,

Andres Freund



Commits

  1. Move libpq's write_failed mechanism down to pqsecure_raw_write().

  2. Fix thinko in PQisBusy().

  3. Set SNI ClientHello extension to localhost in tests

  4. Improve worst-case performance of text_position_get_match_pos()