openssh: fixes issues with some openssl options
authorPeter Wagner <tripolar@gmx.at>
Sat, 20 Oct 2018 12:06:20 +0000 (14:06 +0200)
committerPeter Wagner <tripolar@gmx.at>
Sat, 20 Oct 2018 12:06:20 +0000 (14:06 +0200)
commit08c5f7cfabf6f01890b11905dd12661d7a33a9b6
tree873f88bcbcf9c9f372d5f72e19947604909b105d
parent414df31c74b28c6ac33d27434f0fdf85adbddfc0
 openssh: fixes issues with some openssl options

This adds a couple of patches when setting some openssl options:
* ECDSA code in openssh-compat.h and libressl-api-compat.c needs to be
  be guarded by OPENSSL_HAS_ECC; otherwise, it will not build with
  openssl compiled without ECC support.

* Fix openssl version number in openbsd-compat/openssl-compat.c which
  failed to compile --with-ssl-engine; this option is used when
  CONFIG_OPENSSL_ENGINE_CRYPTO=y

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Signed-off-by: Peter Wagner <tripolar@gmx.at>
net/openssh/Makefile
net/openssh/patches/0001-fix-compilation-with-openssl-built-without-ECC.patch [new file with mode: 0644]
net/openssh/patches/0002-Fix-OPENSSL_init_crypto-call-for-openssl-1.1.patch [new file with mode: 0644]