diff options
| author | Magnus Hagander | 2008-11-20 09:29:36 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2008-11-20 09:29:36 +0000 |
| commit | 3c486fbd1c8e8f79902a40ef929c4ed54f122561 (patch) | |
| tree | a72f7d12449747de29b1e0e50c953eba8df4a132 /src/include | |
| parent | 5054867632a3e3be6c7507b982ac20fbd04d3717 (diff) | |
Control client certificate requesting with the pg_hba option "clientcert"
instead of just relying on the root certificate file to be present.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/libpq/hba.h | 3 | ||||
| -rw-r--r-- | src/include/libpq/libpq.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h index 79b5a51c6d..cf5942a266 100644 --- a/src/include/libpq/hba.h +++ b/src/include/libpq/hba.h @@ -4,7 +4,7 @@ * Interface to hba.c * * - * $PostgreSQL: pgsql/src/include/libpq/hba.h,v 1.51 2008/10/28 12:10:44 mha Exp $ + * $PostgreSQL: pgsql/src/include/libpq/hba.h,v 1.52 2008/11/20 09:29:36 mha Exp $ * *------------------------------------------------------------------------- */ @@ -54,6 +54,7 @@ typedef struct int ldapport; char *ldapprefix; char *ldapsuffix; + bool clientcert; } HbaLine; typedef struct Port hbaPort; diff --git a/src/include/libpq/libpq.h b/src/include/libpq/libpq.h index 53c6437cea..cc4d1bbd7d 100644 --- a/src/include/libpq/libpq.h +++ b/src/include/libpq/libpq.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/libpq/libpq.h,v 1.69 2008/01/01 19:45:58 momjian Exp $ + * $PostgreSQL: pgsql/src/include/libpq/libpq.h,v 1.70 2008/11/20 09:29:36 mha Exp $ * *------------------------------------------------------------------------- */ @@ -67,6 +67,7 @@ extern void pq_endcopyout(bool errorAbort); * prototypes for functions in be-secure.c */ extern int secure_initialize(void); +extern bool secure_loaded_verify_locations(void); extern void secure_destroy(void); extern int secure_open_server(Port *port); extern void secure_close(Port *port); |
