]> code.ossystems Code Review - openembedded-core.git/commit
openssl: Enable os option for with-rand-seed as well
authorKhem Raj <raj.khem@gmail.com>
Fri, 17 Jan 2020 16:58:17 +0000 (18:58 +0200)
committerArmin Kuster <akuster808@gmail.com>
Thu, 23 Jan 2020 02:26:20 +0000 (18:26 -0800)
commitb9fb2913c72ec771e4da2931528f6f5425c14913
tree1fd38d1dd92411444941483d8c6e3463c1666171
parentd9f1bfe681f51f4cb2ad9515454162480993aadf
openssl: Enable os option for with-rand-seed as well

with openSSL 1.1.1d we start seeing errors like

Error Generating Key
139979727451584:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:../openssl-1.1.1d/crypto/rand/drbg_lib.c:342:

when using openssl from openssl-native on build hosts, this is due to
limiting the random seed to devrandom, to support older hosts, since the
option allows to have a comma separated list of methods to try, we can
try the default first and if that fails then fallback to devrandom, this
will ensure that it keeps working with build systems which dont support
getrandom()

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-connectivity/openssl/openssl_1.1.1d.bb