From 3c45d348dbc2bbf1dc2544486c975c69d9325cc0 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 3 Jun 2004 00:13:19 +0000 Subject: [PATCH] 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 ffdae2a519..673c6aad4d 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