1
0
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:
Bruce Momjian
2006-04-27 00:53:58 +00:00
parent a3c1a11fc1
commit 3c4768d0d1
2 changed files with 6 additions and 14 deletions

View File

@@ -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)