mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Disable check-names for static padding function
Check names is intended for public APIs. It doesn't matter if we call a static function a non-namespaced name, so add an exception in the invasive testing header file. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
@ -18,9 +18,10 @@
|
||||
|
||||
#if defined(MBEDTLS_TEST_HOOKS) && defined(MBEDTLS_CIPHER_C)
|
||||
|
||||
MBEDTLS_STATIC_TESTABLE int get_pkcs_padding(unsigned char *input,
|
||||
size_t input_len,
|
||||
size_t *data_len);
|
||||
MBEDTLS_STATIC_TESTABLE
|
||||
int get_pkcs_padding(unsigned char *input, //no-check-names
|
||||
size_t input_len,
|
||||
size_t *data_len);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user