mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Remove MBEDTLS_ from internal macros
This commit is contained in:
parent
a687baf195
commit
8408a94969
7 changed files with 86 additions and 86 deletions
|
|
@ -358,7 +358,7 @@ static int compat_snprintf( char *str, size_t size, const char *format, ... )
|
|||
#define snprintf compat_snprintf
|
||||
#endif /* _MSC_VER && !snprintf && !EFIX64 && !EFI32 */
|
||||
|
||||
#define MBEDTLS_ERR_DEBUG_BUF_TOO_SMALL -2
|
||||
#define ERR_BUF_TOO_SMALL -2
|
||||
|
||||
#define SAFE_SNPRINTF() \
|
||||
{ \
|
||||
|
|
@ -367,7 +367,7 @@ static int compat_snprintf( char *str, size_t size, const char *format, ... )
|
|||
\
|
||||
if( (unsigned int) ret > n ) { \
|
||||
p[n - 1] = '\0'; \
|
||||
return( MBEDTLS_ERR_DEBUG_BUF_TOO_SMALL ); \
|
||||
return( ERR_BUF_TOO_SMALL ); \
|
||||
} \
|
||||
\
|
||||
n -= (unsigned int) ret; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue