diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2016-12-30 15:48:19 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2017-01-11 20:18:11 +0100 |
commit | a4c62af62750a8c33ed1b8bee7d2f8b8d707d3cc (patch) | |
tree | 4d47bdb191b4fcbc48034e7fbb92ea57b6123011 /recipes-support/gnutls/gnutls_3.5.3.bbappend | |
parent | dc4caf1f337ea524a786a7c956af71e3934fe4c1 (diff) |
gnutls: backport split initialization in preinit and init
From https://bugzilla.redhat.com/show_bug.cgi?id=1387141:
Description of problem:
GnuTLS initializes its random generator on the library constructor. That has
the side effect that applications which load early on boot process may block
for significant time even when they wouldn't otherwise use the random generator.
connmand is hit by the above issue.
Backport the relevant patches.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-support/gnutls/gnutls_3.5.3.bbappend')
-rw-r--r-- | recipes-support/gnutls/gnutls_3.5.3.bbappend | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-support/gnutls/gnutls_3.5.3.bbappend b/recipes-support/gnutls/gnutls_3.5.3.bbappend new file mode 100644 index 0000000..99ff422 --- /dev/null +++ b/recipes-support/gnutls/gnutls_3.5.3.bbappend @@ -0,0 +1,8 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" + +# Backport commits in 3.5.6 +# https://bugzilla.redhat.com/show_bug.cgi?id=1387141 +SRC_URI_append = "file://0001-_gnutls_rnd_check-call-_rnd_system_entropy_check-dir.patch \ + file://0002-rng-split-initialization-in-preinit-and-init.patch \ + file://0003-deprecated-_gnutls_rnd-in-favor-of-exported-gnutls_r.patch \ +"
\ No newline at end of file |