lib/rsa: Remove support for OpenSSL < 1.1.0 and libressl < 2.7.0
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Thu, 29 Jul 2021 18:31:21 +0000 (13:31 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 1 Sep 2021 23:25:37 +0000 (19:25 -0400)
commitfe68a67a5f11991146f47c2975a4e1156355a92c
treec40a7e1c576dc5b9a51e5d2a0eedb3a5978ea8fb
parente2e5eec6ce1c2cb496a2a5e019a175a9fbdbed2a
lib/rsa: Remove support for OpenSSL < 1.1.0 and libressl < 2.7.0

Older OpenSSL and libressl versions have a slightly different API.
This require #ifdefs to support. However, we still can't support it
because the ECDSA path does not compile with these older versions.
These #ifdefs are truly a vestigial appendage.

Alternatively, the ECDSA path could be updated for older libraries,
but this requires significant extra code, and #ifdefs. Those libraries
are over three years old, and there concerns whether it makes sense to
build modern software for real world use against such old libraries.

Thusly, remove #ifdefs and code for old OpenSSL and LibreSSL support.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
lib/rsa/rsa-sign.c