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:
Heikki Linnakangas 2015-02-04 09:13:15 +02:00
parent 3a54f4a494
commit 302262d521

View File

@ -407,6 +407,14 @@ PQsslAttribute(PGconn *conn, const char *attribute_name)
{
return NULL;
}
const char **
PQsslAttributes(PGconn *conn)
{
static const char *result[] = { NULL };
return result;
}
#endif /* USE_SSL */