Commit c01ac6dc authored by Andrew Dunstan's avatar Andrew Dunstan

Add dummy versions of new SSL functions for non-SSL builds

This rectifies an oversight in commit 4dc63552, which caused certain
builds to fail, especially on Windows.
parent c35b714c
...@@ -432,6 +432,24 @@ PQsslAttributeNames(PGconn *conn) ...@@ -432,6 +432,24 @@ PQsslAttributeNames(PGconn *conn)
return result; return result;
} }
PQsslKeyPassHook_type
PQgetSSLKeyPassHook(void)
{
return NULL;
}
void
PQsetSSLKeyPassHook(PQsslKeyPassHook_type hook)
{
return;
}
int
PQdefaultSSLKeyPassHook(char *buf, int size, PGconn *conn)
{
return 0;
}
#endif /* USE_SSL */ #endif /* USE_SSL */
/* Dummy version of GSSAPI information functions, when built without GSS support */ /* Dummy version of GSSAPI information functions, when built without GSS support */
......
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