mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Improve comments in query_config.fmt
This commit is contained in:
		
							parent
							
								
									5aca555391
								
							
						
					
					
						commit
						c28da7ea43
					
				@ -1,5 +1,5 @@
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 *  Query configuration information
 | 
					 *  Query Mbed TLS compile time configurations from config.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *  Copyright (C) 2018, Arm Limited, All Rights Reserved
 | 
					 *  Copyright (C) 2018, Arm Limited, All Rights Reserved
 | 
				
			||||||
 *  SPDX-License-Identifier: Apache-2.0
 | 
					 *  SPDX-License-Identifier: Apache-2.0
 | 
				
			||||||
@ -32,7 +32,10 @@
 | 
				
			|||||||
#define mbedtls_printf printf
 | 
					#define mbedtls_printf printf
 | 
				
			||||||
#endif /* MBEDTLS_PLATFORM_C */
 | 
					#endif /* MBEDTLS_PLATFORM_C */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Include all the headers with public APIs in case they modify any configs */
 | 
					/*
 | 
				
			||||||
 | 
					 * Include all the headers with public APIs in case they define a macro to its
 | 
				
			||||||
 | 
					 * default value when that configuration is not set in the config.h.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
#include "mbedtls/aes.h"
 | 
					#include "mbedtls/aes.h"
 | 
				
			||||||
#include "mbedtls/aesni.h"
 | 
					#include "mbedtls/aesni.h"
 | 
				
			||||||
#include "mbedtls/arc4.h"
 | 
					#include "mbedtls/arc4.h"
 | 
				
			||||||
@ -2461,5 +2464,6 @@ int query_config( const char *config )
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
#endif /* MBEDTLS_PLATFORM_GMTIME_R_ALT */
 | 
					#endif /* MBEDTLS_PLATFORM_GMTIME_R_ALT */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /* If the symbol is not found, return an error */
 | 
				
			||||||
    return( 1 );
 | 
					    return( 1 );
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,5 @@
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 *  Query configuration information
 | 
					 *  Query Mbed TLS compile time configurations from config.h
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 *  Copyright (C) 2018, Arm Limited, All Rights Reserved
 | 
					 *  Copyright (C) 2018, Arm Limited, All Rights Reserved
 | 
				
			||||||
 *  SPDX-License-Identifier: Apache-2.0
 | 
					 *  SPDX-License-Identifier: Apache-2.0
 | 
				
			||||||
@ -32,7 +32,10 @@
 | 
				
			|||||||
#define mbedtls_printf printf
 | 
					#define mbedtls_printf printf
 | 
				
			||||||
#endif /* MBEDTLS_PLATFORM_C */
 | 
					#endif /* MBEDTLS_PLATFORM_C */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Include all the headers with public APIs in case they modify any configs */
 | 
					/*
 | 
				
			||||||
 | 
					 * Include all the headers with public APIs in case they define a macro to its
 | 
				
			||||||
 | 
					 * default value when that configuration is not set in the config.h.
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
#include "mbedtls/aes.h"
 | 
					#include "mbedtls/aes.h"
 | 
				
			||||||
#include "mbedtls/aesni.h"
 | 
					#include "mbedtls/aesni.h"
 | 
				
			||||||
#include "mbedtls/arc4.h"
 | 
					#include "mbedtls/arc4.h"
 | 
				
			||||||
@ -109,5 +112,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
int query_config( const char *config )
 | 
					int query_config( const char *config )
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
CHECK_CONFIG    return( 1 );
 | 
					CHECK_CONFIG    /* If the symbol is not found, return an error */
 | 
				
			||||||
 | 
					    return( 1 );
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user