summaryrefslogtreecommitdiffstats
path: root/types.h
diff options
context:
space:
mode:
authorSimon Rettberg2015-10-15 17:54:41 +0200
committerSimon Rettberg2015-10-15 17:54:41 +0200
commit46a9f1c87cb36c82fc99b084cda2ae5a7bb91284 (patch)
treeee19a16d7dfbfc2766c5e1b4ceccb5758e0cb568 /types.h
parentOnly relay whitelisted fields to client on anonymous bind connections (diff)
downloadldadp-46a9f1c87cb36c82fc99b084cda2ae5a7bb91284.tar.gz
ldadp-46a9f1c87cb36c82fc99b084cda2ae5a7bb91284.tar.xz
ldadp-46a9f1c87cb36c82fc99b084cda2ae5a7bb91284.zip
Support certificate verification by ca-bundle and hostname
Diffstat (limited to 'types.h')
-rw-r--r--types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/types.h b/types.h
index d39c3be..23888db 100644
--- a/types.h
+++ b/types.h
@@ -13,6 +13,7 @@
#define SIDLEN 28
#define MOUNTLEN 100
#define FINGERPRINTLEN 20
+#define MAXPATH 200
#define REQLEN 4000
#define MAXMSGLEN 100000
@@ -102,6 +103,7 @@ struct _server_t_ {
char sid[SIDLEN];
char homeTemplate[MOUNTLEN];
unsigned char fingerprint[FINGERPRINTLEN];
+ char cabundle[MAXPATH];
BOOL plainLdap;
uint16_t port;
SSL_CTX *sslContext;