Fix API
This commit is contained in:
parent
be619c1264
commit
3f09b6d4c2
2 changed files with 40 additions and 10 deletions
|
@ -1838,6 +1838,12 @@ reset:
|
|||
}
|
||||
#endif
|
||||
|
||||
if( ret == MBEDTLS_ERR_SSL_CLIENT_RECONNECT )
|
||||
{
|
||||
mbedtls_printf( " ! Client initiated reconnection from same port\n" );
|
||||
goto handshake;
|
||||
}
|
||||
|
||||
#ifdef MBEDTLS_ERROR_C
|
||||
if( ret != 0 )
|
||||
{
|
||||
|
@ -1903,6 +1909,7 @@ reset:
|
|||
/*
|
||||
* 4. Handshake
|
||||
*/
|
||||
handshake:
|
||||
mbedtls_printf( " . Performing the SSL/TLS handshake..." );
|
||||
fflush( stdout );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue