Commit 302262d5 authored by Heikki Linnakangas's avatar Heikki Linnakangas

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.
parent 3a54f4a4
...@@ -407,6 +407,14 @@ PQsslAttribute(PGconn *conn, const char *attribute_name) ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment