From: Milan Broz Date: Tue, 2 Sep 2025 12:58:09 +0000 (+0200) Subject: Remove engine from PROV_CIPHER and PROV_DIGEST structs. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c47a5eb290cad88619af145465b63a160ade43f;p=thirdparty%2Fopenssl.git Remove engine from PROV_CIPHER and PROV_DIGEST structs. Resolves: https://github.com/openssl/project/issues/1352 Resolves: https://github.com/openssl/project/issues/1353 Signed-off-by: Milan Broz Reviewed-by: Matt Caswell Reviewed-by: Saša Nedvědický Reviewed-by: Neil Horman Reviewed-by: Dmitry Belyavskiy Reviewed-by: Saša Nedvědický Reviewed-by: Eugene Syromiatnikov Reviewed-by: Norbert Pocs (Merged from https://github.com/openssl/openssl/pull/29305) --- diff --git a/providers/common/include/prov/provider_util.h b/providers/common/include/prov/provider_util.h index f34e4a1b2ce..b14de9bf066 100644 --- a/providers/common/include/prov/provider_util.h +++ b/providers/common/include/prov/provider_util.h @@ -18,9 +18,6 @@ typedef struct { */ const EVP_CIPHER *cipher; /* cipher */ EVP_CIPHER *alloc_cipher; /* fetched cipher */ - - /* Conditions for legacy EVP_CIPHER uses */ - ENGINE *engine; /* cipher engine */ } PROV_CIPHER; typedef struct { @@ -31,9 +28,6 @@ typedef struct { */ const EVP_MD *md; /* digest */ EVP_MD *alloc_md; /* fetched digest */ - - /* Conditions for legacy EVP_MD uses */ - ENGINE *engine; /* digest engine */ } PROV_DIGEST; /* Cipher functions */