mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-01 10:06:53 +03:00
Remove MBEDTLS_ from internal macros
This commit is contained in:
@ -598,7 +598,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() \
|
||||
{ \
|
||||
@ -607,7 +607,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; \
|
||||
|
Reference in New Issue
Block a user