Skip to content

Commit

Permalink
fix unused-function warning
Browse files Browse the repository at this point in the history
Prepare for enable MBEDTLS_PROTO_*

Change-Id: Ib55054eb1e6a0cd0a337ae64105817f025717150
CustomizedGitHooks: yes
Signed-off-by: Jerry Yu <[email protected]>
  • Loading branch information
yuhaoth committed Jul 25, 2021
1 parent 103f679 commit 011325d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/suites/test_suite_mps.function
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ static void build_mock_transforms( mbedtls_mps_transform_wrap_t *ptr0,
ptr1->mock.pad = pad;
}

#if !defined(TEST_SUITE_MPS_NO_SSL)
static void write_version( int major, int minor, int transport,
unsigned char ver[2] )
{
Expand Down Expand Up @@ -571,6 +572,7 @@ static void read_version( int *major, int *minor, int transport,
*minor = ver[1];
}
}
#endif /* #if !defined(TEST_SUITE_MPS_NO_SSL) */

#define CHK( x ) \
do \
Expand Down

0 comments on commit 011325d

Please sign in to comment.