mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-02 10:00:47 -04:00
Add checks for INVALID_ARGUMENT for psa_pake_output/psa_pake_input in ecjpake_setup() test
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
0d001ef3da
commit
98506ab677
@ -8198,6 +8198,9 @@ void ecjpake_setup( int alg_arg, int primitive_arg, int hash_arg, int role_arg,
|
|||||||
else
|
else
|
||||||
PSA_ASSERT( status );
|
PSA_ASSERT( status );
|
||||||
|
|
||||||
|
TEST_EQUAL( psa_pake_output( &operation, step, NULL, 0, NULL),
|
||||||
|
PSA_ERROR_INVALID_ARGUMENT );
|
||||||
|
|
||||||
TEST_ASSERT( output_len > 0 );
|
TEST_ASSERT( output_len > 0 );
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user