mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-21 20:53:21 +02:00
MINOR: ssl: add 'crt-base' and 'ca-base' global statements.
'crt-base' sets root directory used for relative certificates paths. 'ca-base' sets root directory used for relative CAs and CRLs paths.
This commit is contained in:
committed by
Willy Tarreau
parent
9fa8973abb
commit
c8e8d12257
@@ -30,6 +30,10 @@
|
||||
#include <types/proxy.h>
|
||||
#include <types/task.h>
|
||||
|
||||
#ifndef UNIX_MAX_PATH
|
||||
#define UNIX_MAX_PATH 108
|
||||
#endif
|
||||
|
||||
/* modes of operation (global.mode) */
|
||||
#define MODE_DEBUG 0x01
|
||||
#define MODE_DAEMON 0x02
|
||||
@@ -62,6 +66,10 @@
|
||||
|
||||
/* FIXME : this will have to be redefined correctly */
|
||||
struct global {
|
||||
#ifdef USE_OPENSSL
|
||||
char *crt_base; /* base directory path for certificates */
|
||||
char *ca_base; /* base directory path for CAs and CRLs */
|
||||
#endif
|
||||
int uid;
|
||||
int gid;
|
||||
int nbproc;
|
||||
|
||||
Reference in New Issue
Block a user