diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-05-04 22:18:38 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-05-04 22:18:38 +0000 |
commit | 1e3496f26a5571c1f9c468d0f2ef119a9ddaf8c1 (patch) | |
tree | 9de6100344c03433f18abee0d34cdee7882ad397 /src | |
parent | a43974c6ba31f6add0c8228816666acfbdb90820 (diff) | |
download | postgresql-1e3496f26a5571c1f9c468d0f2ef119a9ddaf8c1.tar.gz postgresql-1e3496f26a5571c1f9c468d0f2ef119a9ddaf8c1.zip |
Don't try to compile SSL CRL support if local SSL installation hasn't
got it. Per buildfarm failure on 'canary'.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/libpq/be-secure.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/libpq/be-secure.c b/src/backend/libpq/be-secure.c index 93e7f0e70f7..93f5d168250 100644 --- a/src/backend/libpq/be-secure.c +++ b/src/backend/libpq/be-secure.c @@ -11,7 +11,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.66 2006/04/27 15:35:15 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/libpq/be-secure.c,v 1.67 2006/05/04 22:18:38 tgl Exp $ * * Since the server static private key ($DataDir/server.key) * will normally be stored unencrypted so that the database @@ -795,6 +795,7 @@ initialize_SSL(void) } else { +#ifdef X509_V_FLAG_CRL_CHECK /* * Check the Certificate Revocation List (CRL) if file exists. * http://searchsecurity.techtarget.com/sDefinition/0,,sid14_gci803160,00.html @@ -816,6 +817,7 @@ initialize_SSL(void) errdetail("Will not check certificates against CRL."))); } } +#endif /* X509_V_FLAG_CRL_CHECK */ SSL_CTX_set_verify(SSL_context, (SSL_VERIFY_PEER | |