Skip to content

Commit 302262d

Browse files
committed
Add dummy PQsslAttributes function for non-SSL builds.
All the other new SSL information functions had dummy versions in be-secure.c, but I missed PQsslAttributes(). Oops. Surprisingly, the linker did not complain about the missing function on most platforms represented in the buildfarm, even though it is exported, except for a few Windows systems.
1 parent 3a54f4a commit 302262d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/interfaces/libpq/fe-secure.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,14 @@ PQsslAttribute(PGconn *conn, const char *attribute_name)
407407
{
408408
return NULL;
409409
}
410+
411+
const char **
412+
PQsslAttributes(PGconn *conn)
413+
{
414+
static const char *result[] = { NULL };
415+
416+
return result;
417+
}
410418
#endif /* USE_SSL */
411419

412420

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy