Re: Typo in backend/libpq/be-secure.c - Mailing list pgsql-patches

From Sean Chittenden
Subject Re: Typo in backend/libpq/be-secure.c
Date
Msg-id 20030701034754.GC72567@perrin.int.nxad.com
Whole thread Raw
In response to Typo in backend/libpq/be-secure.c  (Jon Jensen <jon@endpoint.com>)
Responses Re: Typo in backend/libpq/be-secure.c
List pgsql-patches
> I can't get SSL connections to work at all with the latest checkout
> from CVS HEAD. The culprit appears to be a typo as seen in patch
> below.

*blush* This is indeed a type-o in the patch I submitted, could
someone apply the below patch from Jon?

Pointy hat to: seanc

-sc

> Index: backend/libpq/be-secure.c
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/backend/libpq/be-secure.c,v
> retrieving revision 1.34
> diff -u -r1.34 be-secure.c
> --- backend/libpq/be-secure.c    11 Jun 2003 15:05:50 -0000    1.34
> +++ backend/libpq/be-secure.c    1 Jul 2003 01:07:28 -0000
> @@ -643,7 +643,7 @@
>      SSL_CTX_set_options(SSL_context, SSL_OP_SINGLE_DH_USE | SSL_OP_NO_SSLv2);
>
>      /* setup the allowed cipher list */
> -    if (SSL_CTX_set_cipher_list(SSL_context, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGH") != 1)
> +    if (SSL_CTX_set_cipher_list(SSL_context, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH") != 1)
>      {
>          postmaster_error("unable to set the cipher list (no valid ciphers available)");
>          ExitPostmaster(1);


--
Sean Chittenden

pgsql-patches by date:

Previous
From: aahmed@redhat.com
Date:
Subject: Re: Patch for listing runtime option details through server executable (pg_guc)
Next
From: Shridhar Daithankar
Date:
Subject: Re: Postgresql.conf, initdb patch