1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +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

@ -135,7 +135,7 @@ static int do_handshake( ssl_context *ssl, struct options *opt )
if( ret != POLARSSL_ERR_NET_WANT_READ && ret != POLARSSL_ERR_NET_WANT_WRITE )
{
#if defined(POLARSSL_ERROR_C)
error_strerror( ret, (char *) buf, 1024 );
polarssl_strerror( ret, (char *) buf, 1024 );
#endif
printf( " failed\n ! ssl_handshake returned %d: %s\n\n", ret, buf );
return( -1 );