mirror of https://github.com/acidanthera/audk.git
CryptoPkg/openssl: adapt EcSm2Null.c for openssl 3.0
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Brian J. Johnson <brian.johnson@hpe.com> Tested-by: Kenneth Lautner <klautner@microsoft.com>
This commit is contained in:
parent
174a306ccd
commit
5e1900f266
|
@ -9,8 +9,9 @@
|
|||
#include <Base.h>
|
||||
#include <Library/DebugLib.h>
|
||||
|
||||
#undef OPENSSL_NO_EC
|
||||
#undef EDK2_OPENSSL_NOEC
|
||||
|
||||
#include <openssl/types.h>
|
||||
#include <openssl/objects.h>
|
||||
#include <openssl/bn.h>
|
||||
#include <openssl/ec.h>
|
||||
|
@ -300,9 +301,9 @@ ECDH_compute_key (
|
|||
return 0;
|
||||
}
|
||||
|
||||
struct ec_key_st *
|
||||
const struct ec_key_st *
|
||||
EVP_PKEY_get0_EC_KEY (
|
||||
EVP_PKEY *pkey
|
||||
const EVP_PKEY *pkey
|
||||
)
|
||||
{
|
||||
ASSERT (FALSE);
|
||||
|
|
Loading…
Reference in New Issue