mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-22 04:20:59 +00:00
Change pointer init in export public-key iop struct to NULL
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
This commit is contained in:
parent
c2790c60a0
commit
3c7f5c0047
@ -261,7 +261,7 @@ typedef struct {
|
||||
} mbedtls_psa_export_public_key_iop_operation_t;
|
||||
|
||||
#if defined(MBEDTLS_ECP_C) && defined(MBEDTLS_ECP_RESTARTABLE)
|
||||
#define MBEDTLS_PSA_EXPORT_PUBLIC_KEY_IOP_INIT { 0, MBEDTLS_ECP_RESTART_INIT, 0 }
|
||||
#define MBEDTLS_PSA_EXPORT_PUBLIC_KEY_IOP_INIT { NULL, MBEDTLS_ECP_RESTART_INIT, 0 }
|
||||
#else
|
||||
#define MBEDTLS_PSA_EXPORT_PUBLIC_KEY_IOP_INIT { 0 }
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user