Typo in backend/libpq/be-secure.c

Поиск
Список
Период
Сортировка
Искать

Typo in backend/libpq/be-secure.c

От:
Jon Jensen <jon@endpoint.com>
Дата:
PostgreSQL folks,

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.

Jon


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);

Re: Typo in backend/libpq/be-secure.c

От:
Sean Chittenden <sean@chittenden.org>
Дата:
> 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

Re: Typo in backend/libpq/be-secure.c

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Sean Chittenden  writes:
>> 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?

Applied.

			regards, tom lane
FAQ