buildroot/package/libcurl
Trent Piepho 43b4d3ae45 package/libcurl: use GnuTLS's default cert path
libcurl doesn't find any trust path for CA certs when it cross-compiles.
When using OpenSSL, it is explicitly configured to use the SSL cert
directory with OpenSSL style hash files in it.  But with GnuTLS, it gets
nothing.

Rather than configure libcurl to use the OpenSSL directory or a bundle
file, configure it to use the GnuTLS default.  This way the CA certs
path can be configured in one place (gnutls) and then libcurl and anyone
else who uses gnutls can default to that.

Also, when libcurl with gnutls is configured to use a directory, it ends
up loading each cert three times.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-12-03 21:26:22 +01:00
..
Config.in libcurl: Allow selection of TLS package libcurl will use 2018-11-12 22:24:18 +01:00
libcurl.hash libcurl: security bump to version 7.62.0 2018-10-31 09:48:06 +01:00
libcurl.mk package/libcurl: use GnuTLS's default cert path 2018-12-03 21:26:22 +01:00