mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-01 04:01:13 -04:00 
			
		
		
		
	Add conditional error.h include to test helpers function.
`mbedtls_test_hook_error_add` is referenced inside main_test.function. Including the `error.h` is necessary to build suites which define both MBEDTLS_TEST_HOOKS and MBEDTLS_ERROR_C, such as: build_psa_accel_alg_ecdh Signed-off-by: Mateusz Starzyk <mateusz.starzyk@mobica.com>
This commit is contained in:
		
							parent
							
								
									f2b11a9a77
								
							
						
					
					
						commit
						28c8cce051
					
				| @ -11,6 +11,9 @@ | ||||
| 
 | ||||
| #include <stdlib.h> | ||||
| 
 | ||||
| #if defined (MBEDTLS_ERROR_C) | ||||
| #include "mbedtls/error.h" | ||||
| #endif | ||||
| #if defined(MBEDTLS_PLATFORM_C) | ||||
| #include "mbedtls/platform.h" | ||||
| #else | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Mateusz Starzyk
						Mateusz Starzyk