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.1714433...@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5bcbe9813bf91bcf14ef3a580162f1600dd3d1d4

Modified Files
--------------
src/interfaces/libpq/fe-secure-openssl.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)

Reply via email to