mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
glib-networking: use gnutls backend for TLS sockets
As per upstream:
There are hacks in half the tests where this backend doesn't return
the expected error code or doesn't work as expected. I do hope to
enable this backend by default in the future. For now, it's not there
yet.
8e1d80c1e0
[RP: Add note to recipe about reasoning]
(From OE-Core rev: 6ca7fe3d9f209a05daf094ad051175cf56b5cebd)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1fd22a4cd8
commit
9d9c7d4b0b
@@ -16,7 +16,9 @@ DEPENDS = "glib-2.0-native glib-2.0"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "5c698a9994dde51efdfb1026a56698a221d6250e89dc50ebcddda7b81480a42b"
|
||||
|
||||
PACKAGECONFIG ??= "openssl environment ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
|
||||
# Upstream note that for the openssl backend, half the tests where this backend don't return
|
||||
# the expected error code or don't work as expected so default to gnutls
|
||||
PACKAGECONFIG ??= "gnutls environment ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
|
||||
|
||||
PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls"
|
||||
PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"
|
||||
|
||||
Reference in New Issue
Block a user