mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Return error code from sp_cond_swap_ct
ZD 11824
This commit is contained in:
@ -2481,7 +2481,7 @@ int sp_cond_swap_ct(sp_int * a, sp_int * b, int c, int m)
|
||||
}
|
||||
|
||||
FREE_SP_INT(t, NULL);
|
||||
return MP_OKAY;
|
||||
return err;
|
||||
}
|
||||
#endif /* HAVE_ECC && ECC_TIMING_RESISTANT && !WC_NO_CACHE_RESISTANT */
|
||||
|
||||
|
Reference in New Issue
Block a user