libpq: If ALPN is not used, make PQsslAttribute(conn, "alpn") == ""
The documentation says that PQsslAttribute(conn, "alpn") returns an empty string if ALPN is not used, but the code actually returned NULL. Fix the code to match the documentation. Reported-by: Michael Paquier Discussion: https://www.postgresql.org/message-id/zidenhji0g4gx...@paquier.xyz Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/3c184092651b0b15ca1207c154ab3fd055e1e9fe Modified Files -------------- src/bin/psql/command.c | 2 +- src/interfaces/libpq/fe-secure-openssl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)