pgsql: Remove backwards compatibility ifdef for SSL_AD_NO_APPLICATION_P

Started by Daniel Gustafsson2 days ago1 messagescommitters
Jump to latest
#1Daniel Gustafsson
dgustafsson@postgresql.org

Remove backwards compatibility ifdef for SSL_AD_NO_APPLICATION_PROTOCOL

The SSL_AD_NO_APPLICATION_PROTOCOL macro is available in OpenSSL 1.1.1 as
well as LibreSSL 3.4.0, which match our minimum supported versions of the
libraries, so we can remove the #ifdef guard now.

While there, update the comment to specify when the workaround in question
can be removed.

Author: Andreas Karlsson <andreas@proxel.se>
Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: /messages/by-id/05950496-e557-42d4-a865-c578a5231930@proxel.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/73401447c3404aa8bebf8a4c89d9e604dc6797c4

Modified Files
--------------
src/interfaces/libpq/fe-secure-openssl.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)