]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Apr 2021 16:53:01 +0000 (17:53 +0100)
commit2bb146e7315f8080cb49a95212231ccb76a4a822
treef77c84405692c2b30d56d97ed9fc5a39fcc48a90
parent23be2a27e16d711f928561d96f901a25f5f29998
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>
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