Remove MBEDTLS_ from internal macros
diff --git a/library/x509_csr.c b/library/x509_csr.c
index 2e5aa3c..f6afa1e 100644
--- a/library/x509_csr.c
+++ b/library/x509_csr.c
@@ -358,7 +358,7 @@
#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 @@
\
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; \