This patch (potentially) fixes tarickb/sasl-xoauth2#14.
Indeed, this patch introduces the "ca_bundle_file" and "ca_certs_dir" configuration keys.
From now on, "ca_bundle_file" will be plumbed into CURLOPT_CAINFO and "ca_certs_dir" into CURLOPT_CAPATH. However, when the value of "ca_certs_dir" is empty, we fallback to "ca_bundle_file" if it's not empty either.
This patch (potentially) fixes tarickb/sasl-xoauth2#14.
Indeed, this patch introduces the "ca_bundle_file" and "ca_certs_dir" configuration keys.
From now on, "ca_bundle_file" will be plumbed into CURLOPT_CAINFO and "ca_certs_dir" into CURLOPT_CAPATH. However, when the value of "ca_certs_dir" is empty, we fallback to "ca_bundle_file" if it's not empty either.