Libpq ssl fix

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Libpq ssl fix
Дата
Msg-id 40B74731.5040708@pse-consulting.de
обсуждение исходный текст
Ответы Re: Libpq ssl fix  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Libpq ssl fix  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
init_ssl_system  will return 0 on success and -1 on failure, which will
be interpreted just the other way round in initialize_SSL.
Patch appended.

Regards,
Andreas

Index: fe-secure.c
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/interfaces/libpq/fe-secure.c,v
retrieving revision 1.40
diff -u -r1.40 fe-secure.c
--- fe-secure.c    7 May 2004 00:24:59 -0000    1.40
+++ fe-secure.c    28 May 2004 14:00:40 -0000
@@ -922,7 +922,7 @@
     char        fnbuf[2048];
 #endif

-    if(!init_ssl_system(conn))
+    if(init_ssl_system(conn))
         return -1;

 #ifndef WIN32

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Thomas Hallgren"
Дата:
Сообщение: Re: Link errors on win32
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postmaster.c doesn't compile on win32