mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-31 03:30:35 -04:00 
			
		
		
		
	Only warns if MBEDTLS_HAVE_TIME
This commit is contained in:
		
							parent
							
								
									7c9d72497d
								
							
						
					
					
						commit
						0ff84fb6fe
					
				| @ -2013,7 +2013,9 @@ int main( int argc, char *argv[] ) | |||||||
| #if defined(MBEDTLS_PLATFORM_TIME_ALT) | #if defined(MBEDTLS_PLATFORM_TIME_ALT) | ||||||
|         mbedtls_platform_set_time( dummy_constant_time ); |         mbedtls_platform_set_time( dummy_constant_time ); | ||||||
| #else | #else | ||||||
|  | #if defined(MBEDTLS_HAVE_TIME) | ||||||
|         fprintf( stderr, "Warning: reproducible option used without constant time\n" ); |         fprintf( stderr, "Warning: reproducible option used without constant time\n" ); | ||||||
|  | #endif | ||||||
| #endif | #endif | ||||||
|     } |     } | ||||||
|     else |     else | ||||||
|  | |||||||
| @ -2832,7 +2832,9 @@ int main( int argc, char *argv[] ) | |||||||
| #if defined(MBEDTLS_PLATFORM_TIME_ALT) | #if defined(MBEDTLS_PLATFORM_TIME_ALT) | ||||||
|         mbedtls_platform_set_time( dummy_constant_time ); |         mbedtls_platform_set_time( dummy_constant_time ); | ||||||
| #else | #else | ||||||
|  | #if defined(MBEDTLS_HAVE_TIME) | ||||||
|         fprintf( stderr, "Warning: reproducible option used without constant time\n" ); |         fprintf( stderr, "Warning: reproducible option used without constant time\n" ); | ||||||
|  | #endif | ||||||
| #endif | #endif | ||||||
|     } |     } | ||||||
|     else |     else | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Philippe Antoine
						Philippe Antoine