mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Change libpq's PQgetssl() to return a void*, rather than SSL *, so that
applications don't need the SSL headers. Martijn van Oosterhout
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.76 2006/04/27 00:36:34 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.77 2006/04/27 00:53:58 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* [ Most of these notes are wrong/obsolete, but perhaps not all ]
|
||||
@@ -1014,9 +1014,9 @@ SSLerrfree(char *buf)
|
||||
}
|
||||
|
||||
/*
|
||||
* Return pointer to SSL object.
|
||||
* Return pointer to OpenSSL object.
|
||||
*/
|
||||
SSL *
|
||||
void *
|
||||
PQgetssl(PGconn *conn)
|
||||
{
|
||||
if (!conn)
|
||||
|
Reference in New Issue
Block a user