1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Programs adapted to use polarssl_strerror() instead of error_strerror()

This commit is contained in:
Paul Bakker
2013-06-30 12:18:08 +02:00
parent fd3eac5786
commit 03a8a79516
8 changed files with 12 additions and 12 deletions

View File

@ -596,7 +596,7 @@ reset:
if( ret != 0 )
{
char error_buf[100];
error_strerror( ret, error_buf, 100 );
polarssl_strerror( ret, error_buf, 100 );
printf("Last error was: %d - %s\n\n", ret, error_buf );
}
#endif
@ -780,7 +780,7 @@ exit:
if( ret != 0 )
{
char error_buf[100];
error_strerror( ret, error_buf, 100 );
polarssl_strerror( ret, error_buf, 100 );
printf("Last error was: -0x%X - %s\n\n", -ret, error_buf );
}
#endif