Commit bef6eef 1 parent 35a8fa7 commit bef6eef Copy full SHA for bef6eef
File tree 1 file changed +5
-9
lines changed
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,11 @@ MBEDTLS_DEPRECATED typedef int mbedtls_deprecated_numeric_constant_t;
145
145
#define MBEDTLS_IGNORE_RETURN (result ) ((void) !(result))
146
146
#endif
147
147
148
+ /* If the following macro is defined, the library is being built by the test
149
+ * framework, and the framework is going to provide a replacement
150
+ * mbedtls_platform_zeroize() using a preprocessor macro, so the function
151
+ * declaration should be omitted. */
152
+ #if !defined(MBEDTLS_TEST_DEFINES_ZEROIZE ) //no-check-names
148
153
/**
149
154
* \brief Securely zeroize a buffer
150
155
*
@@ -167,18 +172,9 @@ MBEDTLS_DEPRECATED typedef int mbedtls_deprecated_numeric_constant_t;
167
172
* \param len Length of the buffer in bytes
168
173
*
169
174
*/
170
- #if !defined(MBEDTLS_TEST_DEFINES_ZEROIZE )
171
175
void mbedtls_platform_zeroize (void * buf , size_t len );
172
176
#endif
173
177
174
- /* MBEDTLS_TEST_DEFINES_ZEROIZE
175
- *
176
- * Indicates that the library is being built by the test framework, and the
177
- * framework is going to provide a replacement mbedtls_platform_zeroize()
178
- * using a pre-processor macro, so the function declaration should be omitted.
179
- */
180
- //#define MBEDTLS_TEST_DEFINES_ZEROIZE
181
-
182
178
#if defined(MBEDTLS_HAVE_TIME_DATE )
183
179
/**
184
180
* \brief Platform-specific implementation of gmtime_r()
You can’t perform that action at this time.
0 commit comments