gnurl: fall-back on default system trust store
authorDaniel Golle <redacted>
Mon, 29 Jun 2015 17:43:13 +0000 (19:43 +0200)
committerDaniel Golle <redacted>
Mon, 29 Jun 2015 17:51:08 +0000 (19:51 +0200)
commit9ea72dda91b6a2ae7d152dacb42752f5070301b3
tree172751383f3605ee400dce30d49961df73db55c2
parent1208a25e7114f8055fe6de8f7ad260a88fb2f641
gnurl: fall-back on default system trust store

If no explicit CA file is given, gnurl fails to setup HTTPS connections
as it doesn't looks for certificates in /etc/ssl/certs/ in any way.
Fix that by utilizing GnuTLS' gnutls_certificate_set_x509_system_trust
as a fall-back if neither CA file, CA path nor SRP is declared.

Reported upstream: https://github.com/bagder/curl/issues/330
Fix suggested upstream: https://github.com/bagder/curl/pull/331

Signed-off-by: Daniel Golle <redacted>
net/gnurl/Makefile
net/gnurl/patches/300-fix-gnutls-system-trust.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT