1
0
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:
Manuel Pégourié-Gonnard
2015-04-09 12:14:31 +02:00
parent a687baf195
commit 8408a94969
7 changed files with 86 additions and 86 deletions

View File

@ -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; \