]> granicus.if.org Git - postgresql/commitdiff
init_ssl_system will return 0 on success and -1 on failure, which will
authorBruce Momjian <bruce@momjian.us>
Thu, 3 Jun 2004 00:13:19 +0000 (00:13 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 3 Jun 2004 00:13:19 +0000 (00:13 +0000)
be interpreted just the other way round in initialize_SSL.

Andreas Pflug

src/interfaces/libpq/fe-secure.c

index ffdae2a519f3b16d51813c7308887709dd5f921f..673c6aad4d1d5dd3cdddbab93df24673bcca0d4e 100644 (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