From 46a9f1c87cb36c82fc99b084cda2ae5a7bb91284 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 15 Oct 2015 17:54:41 +0200 Subject: Support certificate verification by ca-bundle and hostname --- types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'types.h') 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; -- cgit v1.2.3-55-g7522