Fix indentation in three example programs

This commit is contained in:
Hanno Becker 2019-07-24 16:01:38 +01:00 committed by Manuel Pégourié-Gonnard
parent e7895aae2c
commit 28d2a88173
3 changed files with 10 additions and 10 deletions

View File

@ -308,11 +308,11 @@ reset:
#if !defined(MBEDTLS_SSL_CONF_RECV) && \
!defined(MBEDTLS_SSL_CONF_SEND) && \
!defined(MBEDTLS_SSL_CONF_RECV_TIMEOUT)
mbedtls_ssl_set_bio( &ssl, &client_fd,
mbedtls_net_send, mbedtls_net_recv,
mbedtls_net_recv_timeout );
mbedtls_ssl_set_bio( &ssl, &client_fd,
mbedtls_net_send, mbedtls_net_recv,
mbedtls_net_recv_timeout );
#else
mbedtls_ssl_set_bio_ctx( &ssl, &client_fd );
mbedtls_ssl_set_bio_ctx( &ssl, &client_fd );
#endif
printf( " ok\n" );

View File

@ -199,10 +199,10 @@ int main( void )
#if !defined(MBEDTLS_SSL_CONF_RECV) && \
!defined(MBEDTLS_SSL_CONF_SEND) && \
!defined(MBEDTLS_SSL_CONF_RECV_TIMEOUT)
mbedtls_ssl_set_bio( &ssl, &server_fd,
mbedtls_net_send, mbedtls_net_recv, NULL );
mbedtls_ssl_set_bio( &ssl, &server_fd,
mbedtls_net_send, mbedtls_net_recv, NULL );
#else
mbedtls_ssl_set_bio_ctx( &ssl, &server_fd );
mbedtls_ssl_set_bio_ctx( &ssl, &server_fd );
#endif
/*

View File

@ -652,10 +652,10 @@ int main( int argc, char *argv[] )
#if !defined(MBEDTLS_SSL_CONF_RECV) && \
!defined(MBEDTLS_SSL_CONF_SEND) && \
!defined(MBEDTLS_SSL_CONF_RECV_TIMEOUT)
mbedtls_ssl_set_bio( &ssl, &server_fd,
mbedtls_net_send, mbedtls_net_recv, NULL );
mbedtls_ssl_set_bio( &ssl, &server_fd,
mbedtls_net_send, mbedtls_net_recv, NULL );
#else
mbedtls_ssl_set_bio_ctx( &ssl, &server_fd );
mbedtls_ssl_set_bio_ctx( &ssl, &server_fd );
#endif
mbedtls_printf( " ok\n" );