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
This commit is contained in:
Bruce Momjian 2004-06-03 00:13:19 +00:00
parent 1881c8f3c5
commit 3c45d348db

View File

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