mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Add dummy versions of new SSL functions for non-SSL builds
This rectifies an oversight in commit 4dc6355210, which caused certain builds to fail, especially on Windows.
This commit is contained in:
parent
c35b714caf
commit
c01ac6dcba
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user