Fix missing check in example client

And a mis-indented check as well.
This commit is contained in:
Manuel Pégourié-Gonnard 2018-10-15 15:28:16 +02:00
parent ee68cff813
commit 25781f90da

View File

@ -1674,6 +1674,11 @@ int main( int argc, char *argv[] )
goto exit;
}
#if defined(MBEDTLS_ECP_RESTARTABLE)
if( ret == MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS )
continue;
#endif
/* For event-driven IO, wait for socket to become available */
if( opt.event == 1 /* level triggered IO */ )
{