Re: Libpq ssl fix

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Libpq ssl fix
Date: 2004-06-03 00:13:20
Message-ID: 200406030013.i530DKQ00955@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

Andreas Pflug wrote:
> 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

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-06-03 00:25:22 Re: fix for pg_regress.sh on mingw
Previous Message Bruce Momjian 2004-06-03 00:12:27 Re: Compiling libpq with VisualC