mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-03 21:25:31 +01:00
Stop checking for argument change
This was intended to detect aborted operations, but now that case is handled by the caller freeing the restart context. Also, as the internal sub-context is managed by the callee, no need for the caller to free/reset the restart context between successful calls.
This commit is contained in:
parent
3cade22f96
commit
8467e6848d
3 changed files with 6 additions and 29 deletions
|
|
@ -116,9 +116,6 @@ void ecp_test_vect_restart( int id,
|
|||
TEST_ASSERT( cnt_restarts >= min_restarts );
|
||||
TEST_ASSERT( cnt_restarts <= max_restarts );
|
||||
|
||||
/* Prepare context for new operation */
|
||||
mbedtls_ecp_restart_free( &ctx );
|
||||
|
||||
/* Non-base point case */
|
||||
cnt_restarts = 0;
|
||||
do {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue