Typo in backend/libpq/be-secure.c

Started by Jon Jensenabout 23 years ago3 messagespatches
Jump to latest
#1Jon 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);
#2Sean Chittenden
sean@chittenden.org
In reply to: Jon Jensen (#1)
Re: Typo in backend/libpq/be-secure.c

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

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Sean Chittenden (#2)
Re: Typo in backend/libpq/be-secure.c

Sean Chittenden <sean@chittenden.org> 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