mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
mbedtls: enable CA path processing
CA path processing was implemented when mbedtls.c was added to libcurl
in fe7590f
, but it was never enabled.
Bug: https://github.com/curl/curl/issues/1877
Reported-by: SBKarr@users.noreply.github.com
This commit is contained in:
parent
a14f7152ce
commit
64bb7ae6ae
@ -54,8 +54,9 @@ if(curl) {
|
|||||||
}
|
}
|
||||||
.fi
|
.fi
|
||||||
.SH AVAILABILITY
|
.SH AVAILABILITY
|
||||||
This option is supported by the OpenSSL, GnuTLS and PolarSSL backends. The NSS
|
This option is supported by the OpenSSL, GnuTLS, PolarSSL and mbedTLS
|
||||||
backend provides the option only for backward compatibility.
|
(since 7.56.0) backends. The NSS backend provides the option only for
|
||||||
|
backward compatibility.
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
CURLE_OK if supported; or an error such as:
|
CURLE_OK if supported; or an error such as:
|
||||||
|
|
||||||
|
@ -55,8 +55,9 @@ if(curl) {
|
|||||||
.SH AVAILABILITY
|
.SH AVAILABILITY
|
||||||
Added in 7.52.0
|
Added in 7.52.0
|
||||||
|
|
||||||
This option is supported by the OpenSSL, GnuTLS and PolarSSL backends. The NSS
|
This option is supported by the OpenSSL, GnuTLS, PolarSSL and mbedTLS
|
||||||
backend provides the option only for backward compatibility.
|
(since 7.56.0) backends. The NSS backend provides the option only for
|
||||||
|
backward compatibility.
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
CURLE_OK if supported; or an error such as:
|
CURLE_OK if supported; or an error such as:
|
||||||
|
|
||||||
|
@ -1042,7 +1042,7 @@ static void *Curl_mbedtls_get_internals(struct ssl_connect_data *connssl,
|
|||||||
const struct Curl_ssl Curl_ssl_mbedtls = {
|
const struct Curl_ssl Curl_ssl_mbedtls = {
|
||||||
{ CURLSSLBACKEND_MBEDTLS, "mbedtls" }, /* info */
|
{ CURLSSLBACKEND_MBEDTLS, "mbedtls" }, /* info */
|
||||||
|
|
||||||
0, /* have_ca_path */
|
1, /* have_ca_path */
|
||||||
0, /* have_certinfo */
|
0, /* have_certinfo */
|
||||||
1, /* have_pinnedpubkey */
|
1, /* have_pinnedpubkey */
|
||||||
1, /* have_ssl_ctx */
|
1, /* have_ssl_ctx */
|
||||||
|
Loading…
Reference in New Issue
Block a user