mirror of https://github.com/ARMmbed/mbed-os.git
Remove unused variables in mbedtls_md5_context + remove unnecessary ifdef
__cpluspluspull/4695/head
parent
e126975d91
commit
29114f1a56
|
@ -38,9 +38,6 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
uint32_t total[2]; /*!< number of bytes processed */
|
|
||||||
uint32_t state[4]; /*!< intermediate digest state */
|
|
||||||
unsigned char buffer[64]; /*!< data block being processed */
|
|
||||||
HASH_HandleTypeDef hhash_md5;
|
HASH_HandleTypeDef hhash_md5;
|
||||||
}
|
}
|
||||||
mbedtls_md5_context;
|
mbedtls_md5_context;
|
||||||
|
@ -99,14 +96,6 @@ void mbedtls_md5_process( mbedtls_md5_context *ctx, const unsigned char data[64]
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* MBEDTLS_MD5_ALT */
|
#endif /* MBEDTLS_MD5_ALT */
|
||||||
|
|
||||||
#endif /* md5_alt.h */
|
#endif /* md5_alt.h */
|
||||||
|
|
Loading…
Reference in New Issue