8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2246e31 commit 91d568eCopy full SHA for 91d568e
src/backend/libpq/be-secure.c
@@ -11,7 +11,7 @@
11
*
12
13
* IDENTIFICATION
14
- * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.69 2006/05/06 02:24:39 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.70 2006/05/12 22:44:36 tgl Exp $
15
16
* Since the server static private key ($DataDir/server.key)
17
* will normally be stored unencrypted so that the database
@@ -524,7 +524,7 @@ load_dh_file(int keylength)
524
/* make sure the DH parameters are usable */
525
if (dh != NULL)
526
{
527
- if (DH_check(dh, &codes))
+ if (DH_check(dh, &codes) == 0)
528
529
elog(LOG, "DH_check error (%s): %s", fnbuf, SSLerrmessage());
530
return NULL;
0 commit comments