diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2012-02-22 23:40:46 +0200 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2012-02-22 23:40:46 +0200 |
| commit | a445cb92ef5b3a31313ebce30e18cc1d6e0bdecb (patch) | |
| tree | d760ab6cc486f2d052e7ff1e728c28f24d025d2e /src/include/libpq | |
| parent | a417f85e1da1ef241af4bf40507ca213464d7069 (diff) | |
| download | postgresql-a445cb92ef5b3a31313ebce30e18cc1d6e0bdecb.tar.gz | |
Add parameters for controlling locations of server-side SSL files
This allows changing the location of the files that were previously
hard-coded to server.crt, server.key, root.crt, root.crl.
server.crt and server.key continue to be the default settings and are
thus required to be present by default if SSL is enabled. But the
settings for the server-side CA and CRL are now empty by default, and
if they are set, the files are required to be present. This replaces
the previous behavior of ignoring the functionality if the files were
not found.
Diffstat (limited to 'src/include/libpq')
| -rw-r--r-- | src/include/libpq/libpq.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h index a4ef7b3e09..7083cd866b 100644 --- a/src/include/libpq/libpq.h +++ b/src/include/libpq/libpq.h @@ -70,6 +70,11 @@ extern void pq_endcopyout(bool errorAbort); /* * prototypes for functions in be-secure.c */ +extern char *ssl_cert_file; +extern char *ssl_key_file; +extern char *ssl_ca_file; +extern char *ssl_crl_file; + extern int secure_initialize(void); extern bool secure_loaded_verify_locations(void); extern void secure_destroy(void); |
