[PATCH v2 09/19] rsatoc: use non deprecated openssl functions to retrieve RSA params
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Aug 5 03:29:07 PDT 2024
On 01.08.24 07:57, Sascha Hauer wrote:
> EVP_PKEY_get1_RSA() and RSA_get0_key() are deprecated. Use
> EVP_PKEY_get_bn_param() instead.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
> scripts/rsatoc.c | 29 +++++++++++++++--------------
> 1 file changed, 15 insertions(+), 14 deletions(-)
>
> diff --git a/scripts/rsatoc.c b/scripts/rsatoc.c
> index afef6212d0..c7bc4ba843 100644
> --- a/scripts/rsatoc.c
> +++ b/scripts/rsatoc.c
> @@ -18,6 +18,8 @@
> #include <openssl/ssl.h>
> #include <openssl/evp.h>
> #include <openssl/engine.h>
> +#include <openssl/provider.h>
This is unused and might break compatibility with older OpenSSL versions?
Please drop, until we add provider support for real.
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list