diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-04-29 12:26:46 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2024-04-29 12:26:46 +0300 |
commit | 3c184092651b0b15ca1207c154ab3fd055e1e9fe (patch) | |
tree | e153b3c8c9af32ab912e11c2539d61998724f5c3 /src/tutorial/funcs.c | |
parent | 592a2283721f7143999364ef487f2b4993f5161d (diff) | |
download | postgresql-3c184092651b0b15ca1207c154ab3fd055e1e9fe.tar.gz postgresql-3c184092651b0b15ca1207c154ab3fd055e1e9fe.zip |
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/ZideNHji0G4gxmc3@paquier.xyz
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions