Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e3496f

Browse files
committed
Don't try to compile SSL CRL support if local SSL installation hasn't
got it. Per buildfarm failure on 'canary'.
1 parent a43974c commit 1e3496f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/libpq/be-secure.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.66 2006/04/27 15:35:15 momjian Exp $
14+
* $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.67 2006/05/04 22:18:38 tgl Exp $
1515
*
1616
* Since the server static private key ($DataDir/server.key)
1717
* will normally be stored unencrypted so that the database
@@ -795,6 +795,7 @@ initialize_SSL(void)
795795
}
796796
else
797797
{
798+
#ifdef X509_V_FLAG_CRL_CHECK
798799
/*
799800
* Check the Certificate Revocation List (CRL) if file exists.
800801
* http://searchsecurity.techtarget.com/sDefinition/0,,sid14_gci803160,00.html
@@ -816,6 +817,7 @@ initialize_SSL(void)
816817
errdetail("Will not check certificates against CRL.")));
817818
}
818819
}
820+
#endif /* X509_V_FLAG_CRL_CHECK */
819821

820822
SSL_CTX_set_verify(SSL_context,
821823
(SSL_VERIFY_PEER |

0 commit comments

Comments
 (0)