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:
@ -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 );
|
||||
|
Reference in New Issue
Block a user