postgres.git / summary / log / commit / refs
commit 3c45d348dbc2bbf1dc2544486c975c69d9325cc0
Author: Bruce Momjian <bruce@momjian.us>
Date: Thu Jun 03 00:13:19 2004 +0000
First released in: 8.0.0
init_ssl_system will return 0 on success and -1 on failure, which will
be interpreted just the other way round in initialize_SSL.
Andreas Pflug
src/interfaces/libpq/fe-secure.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index ffdae2a519f..673c6aad4d1 100644
--- a/src/interfaces/libpq/fe-secure.c
+++ b/src/interfaces/libpq/fe-secure.c
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.40 2004/05/07 00:24:59 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.41 2004/06/03 00:13:19 momjian Exp $
*
* NOTES
* The client *requires* a valid server certificate. Since
@@ -922,7 +922,7 @@ initialize_SSL(PGconn *conn)
char fnbuf[2048];
#endif
- if(!init_ssl_system(conn))
+ if(init_ssl_system(conn))
return -1;
#ifndef WIN32
[parent: 1881c8f3c5a0]