summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorPhilippe Normand <philn@igalia.com>2019-05-31 09:44:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-31 22:13:31 +0100
commit4babb468b856f495ef828ee21cefb266ed58bd28 (patch)
treeb868c938989ba620aa645e34abe0e68a5894890c /meta
parent67edffa0aeb0830a8c4a88b3643c9654396dfab3 (diff)
downloadpoky-4babb468b856f495ef828ee21cefb266ed58bd28.tar.gz
gnutls: Use ca-certificates as default trust store file
Since version 2.58 the glib-networking TLS database relies on GnuTLS's system trust store, so not enabling it leads to TLS errors in applications depending on glib-networking. The raised runtime warning is: process:500): GLib-Net-WARNING **: 09:14:09.321: Failed to load TLS database: Failed to load system trust store: GnuTLS was not configured with a system trust (app:490): ... TLS Error: TLS certificate has unknown CA. (From OE-Core rev: 1d147be584d2f016853edbe9751247d7daa0b5d0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/gnutls/gnutls_3.6.7.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/gnutls/gnutls_3.6.7.bb b/meta/recipes-support/gnutls/gnutls_3.6.7.bb
index e05dc2b57d..01dd23c961 100644
--- a/meta/recipes-support/gnutls/gnutls_3.6.7.bb
+++ b/meta/recipes-support/gnutls/gnutls_3.6.7.bb
@@ -44,6 +44,7 @@ EXTRA_OECONF = " \
44 --enable-local-libopts \ 44 --enable-local-libopts \
45 --enable-openssl-compatibility \ 45 --enable-openssl-compatibility \
46 --with-libpthread-prefix=${STAGING_DIR_HOST}${prefix} \ 46 --with-libpthread-prefix=${STAGING_DIR_HOST}${prefix} \
47 --with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt \
47" 48"
48 49
49LDFLAGS_append_libc-musl = " -largp" 50LDFLAGS_append_libc-musl = " -largp"