But curl uses mbedtls_x509_crt_parse_path in mbedtls backend, if ssl_capath was configured.
libcurl: 7.55.1 (13 Aug 2017)
mbedtls: 2.6.0
OS: Ubuntu 16.04
curl version: 7.55.1
Host setup: x86_64-pc-linux-gnu
Install prefix:
Compiler: clang
SSL support: enabled (mbedTLS)
SSH support: no (--with-libssh2)
zlib support: enabled
GSS-API support: no (--with-gssapi)
TLS-SRP support: no (--enable-tls-srp)
resolver: POSIX threaded
IPv6 support: enabled
Unix sockets support: no (--enable-unix-sockets)
IDN support: no (--with-{libidn2,winidn})
Build libcurl: Shared=no, Static=yes
Built-in manual: no (--enable-manual)
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: no
SSPI support: no (--enable-sspi)
ca cert bundle: no
ca cert path: no
ca fallback: no
LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS support: no (--enable-ldaps)
RTSP support: no (--enable-rtsp)
RTMP support: no (--with-librtmp)
metalink support: no (--with-libmetalink)
PSL support: no (libpsl not found)
HTTP2 support: disabled (--with-nghttp2)
Protocols: FILE FTP FTPS HTTP HTTPS SMTP SMTPS
It just works if i define #define have_curlssl_ca_path 1 in mbedtls.h, but i think, it should be tested somehow.
But curl uses
mbedtls_x509_crt_parse_pathin mbedtls backend, ifssl_capathwas configured.libcurl: 7.55.1 (13 Aug 2017)
mbedtls: 2.6.0
OS: Ubuntu 16.04
It just works if i define
#define have_curlssl_ca_path 1in mbedtls.h, but i think, it should be tested somehow.