diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2016-02-25 01:55:38 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2016-02-25 01:55:38 -0500 |
commit | 3ae77f079a4a0ea61013a8bde298db99fa74a1b3 (patch) | |
tree | e13d36e95f48d3f4328d9f6f7196d9949c170ccf /configure.ac | |
parent | 46bf7996f43a4c47b00dde6d127d50f9faea9dd9 (diff) | |
download | curl-3ae77f079a4a0ea61013a8bde298db99fa74a1b3.tar.gz |
configure: warn on invalid ca bundle or path
- Warn if --with-ca-bundle file does not exist.
- Warn if --with-ca-path directory does not contain certificates.
- Improve help messages for both.
Example configure output:
ca cert bundle: /some/file (warning: certs not found)
ca cert path: /some/dir (warning: certs not found)
Bug: https://github.com/curl/curl/issues/404
Reported-by: Jeffrey Walton
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index b235cdf9a..b208d4d11 100644 --- a/configure.ac +++ b/configure.ac @@ -3891,8 +3891,8 @@ AC_MSG_NOTICE([Configured to build curl/libcurl: --libcurl option: ${curl_libcurl_msg} Verbose errors: ${curl_verbose_msg} SSPI support: ${curl_sspi_msg} - ca cert bundle: ${ca} - ca cert path: ${capath} + ca cert bundle: ${ca}${ca_warning} + ca cert path: ${capath}${capath_warning} ca fallback: ${with_ca_fallback} LDAP support: ${curl_ldap_msg} LDAPS support: ${curl_ldaps_msg} |