mirror of
				https://github.com/Mbed-TLS/mbedtls.git
				synced 2025-11-03 20:33:16 +03:00 
			
		
		
		
	Add ifdef for selftest in header file
See https://github.com/ARMmbed/mbedtls/pull/975
This commit is contained in:
		@@ -298,12 +298,14 @@ int mbedtls_aria_crypt_ctr( mbedtls_aria_context *ctx,
 | 
				
			|||||||
extern "C" {
 | 
					extern "C" {
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if defined(MBEDTLS_SELF_TEST)
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * \brief          Checkup routine.
 | 
					 * \brief          Checkup routine.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * \return         \c 0 on success, or \c 1 on failure.
 | 
					 * \return         \c 0 on success, or \c 1 on failure.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
int mbedtls_aria_self_test( int verbose );
 | 
					int mbedtls_aria_self_test( int verbose );
 | 
				
			||||||
 | 
					#endif /* MBEDTLS_SELF_TEST */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __cplusplus
 | 
					#ifdef __cplusplus
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user