libssh2: revert to previous crypto defaults
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 5 Nov 2017 21:34:02 +0000 (22:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 6 Nov 2017 17:43:54 +0000 (18:43 +0100)
commitd9a521f00886e4c9082bd998f267b4bafcfe2b17
tree5891b69f5d3349704c4a7f18e68b2cc5ee35ae01
parent0c219ddb8ac2736057402144825b22812b5a642c
libssh2: revert to previous crypto defaults

The recent crypto handling change (commit 04a1031d3: package/libssh2: Add
selectable crypto libraries) had the unfortunate side effect that it no
longer automatically selects the most suitable crypto backend (E.G.  one
where the dependency is already enabled), so all users not wanting to use
the mbedtls backend need to explicitly configure this.

Fix this by inverting the logic so the crypto backend sub options use
'depends on' their dependencies instead of 'select', so only the available
backends are displayed.

Like before, default to openssl if no crypto backend dependencies are
currently enabled.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libssh2/Config.in