Fix compilation on OpenSSL 1.0.2 and LibreSSL
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 30 Apr 2024 05:22:24 +0000 (08:22 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 30 Apr 2024 05:22:24 +0000 (08:22 +0300)
commit5bcbe9813bf91bcf14ef3a580162f1600dd3d1d4
tree12cbf5136b85047d9bd8f5605e8bf2c30b53fe01
parentb7dc5da1969cb0756739feb393eea51a8265ca04
Fix compilation on OpenSSL 1.0.2 and LibreSSL

SSL_AD_NO_APPLICATION_PROTOCOL was introduced in OpenSSL 1.1.0.

While we're at it, add a link to the related OpenSSL github issue to
the comment.

Per buildfarm and Tom Lane.

Discussion: https://www.postgresql.org/message-id/1452995.1714433552@sss.pgh.pa.us
src/interfaces/libpq/fe-secure-openssl.c