mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
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.
This commit is contained in:
parent
3a54f4a494
commit
302262d521
@ -407,6 +407,14 @@ PQsslAttribute(PGconn *conn, const char *attribute_name)
|
|||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char **
|
||||||
|
PQsslAttributes(PGconn *conn)
|
||||||
|
{
|
||||||
|
static const char *result[] = { NULL };
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
#endif /* USE_SSL */
|
#endif /* USE_SSL */
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user