Remove unused variables from tests

Fix clang build by removing unused variables and fixing comments
This commit is contained in:
Andrzej Kurek 2018-02-12 05:10:28 -05:00
parent eb162de489
commit dc5770a62f
2 changed files with 1 additions and 2 deletions

View File

@ -521,7 +521,7 @@ int mbedtls_ecp_tls_write_group( const mbedtls_ecp_group *grp, size_t *olen,
* The output is the group's OID wrapped as ASN.1.
*
* \param grp ECP group used
* \param buf Buffer to write to
* \param p Buffer to write to
* \param size Buffer size
* \param olen Number of bytes written to \c buf
* \return 0 on success

View File

@ -173,7 +173,6 @@ exit:
#define OPAQUE_MOCK_GOOD_SIGNATURE "good"
static const unsigned char opaque_mock_hash[8] = "HASHhash";
static const unsigned char opaque_mock_reference_input[10] = "INPUTinput";
static const unsigned char opaque_mock_input[10] = "INPUTinput";
static const unsigned char opaque_mock_reference_encrypted[12] = "C:JOQVUjoqvu";
static const unsigned char opaque_mock_reference_decrypted[12] = "P:HMOTShmots";
static char opaque_mock_fake_ctx = 'c';