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 --- ldadp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ldadp.c') diff --git a/ldadp.c b/ldadp.c index b1a5a73..7371af6 100644 --- a/ldadp.c +++ b/ldadp.c @@ -127,6 +127,8 @@ static int loadConfig_handler(void *stuff, const char *section, const char *key, if (value[0] != '\0') server_setHomeTemplate(section, value); } else if (strcmp(key, "fingerprint") == 0) { if (value[0] != '\0') server_setFingerprint(section, value); + } else if (strcmp(key, "cabundle") == 0) { + if (value[0] != '\0') server_setCaBundle(section, value); } else if (strcmp(key, "port") == 0) { server_setPort(section, value); } else if (strcmp(key, "plainldap") == 0) { -- cgit v1.2.3-55-g7522