]> git.sur5r.net Git - openldap/commit
ITS#8529 Avoid hiding the error if user specified CA does not load
authorHoward Guo <hguo@suse.com>
Thu, 10 Nov 2016 14:39:03 +0000 (15:39 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 28 Feb 2017 21:55:04 +0000 (13:55 -0800)
commite3affc71e05b33bfac43833c7b95fd7b7c3188f8
tree528a703979882725321c93bf9dd40186aa9aea1a
parent0bf20d52e68be2caaca6f027f798f060cf3001ab
ITS#8529 Avoid hiding the error if user specified CA does not load

The TLS configuration deliberately hid the error in case that
user specified CA locations cannot be read, by loading CAs from default
locations; and when user does not specify CA locations, the CAs from default
locations are not read at all.

This patch corrects the behaviour so that CAs from default location are used
if user does not specify a CA location, and user is informed of the error if
CAs cannot be loaded from the user specified location.
libraries/libldap/tls_o.c