Merge pull request #5369 from embhorn/zd14522
Fix var init in wc_ecc_shared_secret
This commit is contained in:
commit
feb3f889af
@ -4222,7 +4222,7 @@ static void wc_ecc_free_async(ecc_key* key)
|
||||
int wc_ecc_shared_secret(ecc_key* private_key, ecc_key* public_key, byte* out,
|
||||
word32* outlen)
|
||||
{
|
||||
int err;
|
||||
int err = 0;
|
||||
|
||||
#if defined(WOLFSSL_CRYPTOCELL) && !defined(WOLFSSL_ATECC508A) && \
|
||||
!defined(WOLFSSL_ATECC608A)
|
||||
|
Loading…
x
Reference in New Issue
Block a user