]> code.ossystems Code Review - openembedded-core.git/commit
libssh2: fix build failure with option no-ecdsa
authorStefan Ghinea <stefan.ghinea@windriver.com>
Fri, 23 Apr 2021 17:18:26 +0000 (20:18 +0300)
committerAnuj Mittal <anuj.mittal@intel.com>
Mon, 26 Apr 2021 00:56:32 +0000 (08:56 +0800)
commitd70cf4cd57d61f7db7179673b211e631c944e0e6
tree8f9fc7cd5537590f235d2633c9eca2ef5d4cc1af
parent8a0aae46bc87c00fb4d32f6ce5567cc44cae6d34
libssh2: fix build failure with option no-ecdsa

libssh2 fails at do_compile if
DEPRECATED_CRYPTO_FLAGS = "no-ecdsa" is set in recipe:

../src/.libs/libssh2.so: undefined reference to
`LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY'

References:
https://github.com/libssh2/libssh2/issues/549

Upstream patches:
https://github.com/libssh2/libssh2/commit/1f76151c92e1b52e9c24ebf06adc77fbd6c062bc

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bb146e7315f8080cb49a95212231ccb76a4a822)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-support/libssh2/files/0001-kex.c-move-EC-macro-outside-of-if-check-549-550.patch [new file with mode: 0644]
meta/recipes-support/libssh2/libssh2_1.9.0.bb