forked from wolfSSL/wolfssl
wolfssl/test.h:err_sys_with_errno(): printing the errno msg seems to blow up all the parse tests, so only do it when -DDEBUG_TEST_ERR_SYS_WITH_ERRNO.
This commit is contained in:
@@ -509,7 +509,7 @@ WC_NORETURN void
|
|||||||
#endif
|
#endif
|
||||||
err_sys_with_errno(const char* msg)
|
err_sys_with_errno(const char* msg)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_STRING_H) && defined(HAVE_ERRNO_H)
|
#ifdef DEBUG_TEST_ERR_SYS_WITH_ERRNO
|
||||||
printf("wolfSSL error: %s: %s\n", msg, strerror(errno));
|
printf("wolfSSL error: %s: %s\n", msg, strerror(errno));
|
||||||
#else
|
#else
|
||||||
printf("wolfSSL error: %s\n", msg);
|
printf("wolfSSL error: %s\n", msg);
|
||||||
|
Reference in New Issue
Block a user