mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
add initial symbols to config and checks to check_config to allow use of macros to define standard functions
This commit is contained in:
parent
98081c5ec6
commit
4cc8a22d88
2 changed files with 92 additions and 0 deletions
|
|
@ -147,6 +147,16 @@
|
|||
*/
|
||||
//#define POLARSSL_PLATFORM_NO_STD_FUNCTIONS
|
||||
|
||||
/**
|
||||
* \def POLARSSL_PLATFORM_ENABLE_FUNCTION_MACROS
|
||||
*
|
||||
* TO-DO: ADD DESCRIPTION & ANY WARNINGS ETC
|
||||
*
|
||||
* Requires: POLARSSL_PLATFORM_C
|
||||
*
|
||||
*/
|
||||
//#define POLARSSL_PLATFORM_ENABLE_FUNCTION_MACROS
|
||||
|
||||
/**
|
||||
* \def POLARSSL_PLATFORM_XXX_ALT
|
||||
*
|
||||
|
|
@ -2248,6 +2258,13 @@
|
|||
//#define POLARSSL_PLATFORM_STD_PRINTF printf /**< Default printf to use, can be undefined */
|
||||
//#define POLARSSL_PLATFORM_STD_SNPRINTF snprintf /**< Default snprintf to use, can be undefined */
|
||||
|
||||
//#define POLARSSL_PLATFORM_MALLOC_MACRO malloc /**< Default allocator macro to use, can be undefined */
|
||||
//#define POLARSSL_PLATFORM_FREE_MACRO free /**< Default free macro to use, can be undefined */
|
||||
//#define POLARSSL_PLATFORM_EXIT_MACRO exit /**< Default exit macro to use, can be undefined */
|
||||
//#define POLARSSL_PLATFORM_FPRINTF_MACRO fprintf /**< Default fprintf macro to use, can be undefined */
|
||||
//#define POLARSSL_PLATFORM_PRINTF_MACRO printf /**< Default printf macro to use, can be undefined */
|
||||
//#define POLARSSL_PLATFORM_SNPRINTF_MACRO snprintf /**< Default snprintf macro to use, can be undefined */
|
||||
|
||||
/* SSL Cache options */
|
||||
//#define SSL_CACHE_DEFAULT_TIMEOUT 86400 /**< 1 day */
|
||||
//#define SSL_CACHE_DEFAULT_MAX_ENTRIES 50 /**< Maximum entries in cache */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue