mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-18 14:47:55 +00: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 <[email protected]>
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