1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Use ssl_client2 to terminate ssl_server2

This commit is contained in:
Manuel Pégourié-Gonnard
2014-03-13 18:35:10 +01:00
parent ba0b8442f0
commit 84fd6877c6
3 changed files with 17 additions and 9 deletions

View File

@ -946,7 +946,10 @@ send_request:
printf( " > Write to server:" );
fflush( stdout );
len = sprintf( (char *) buf, GET_REQUEST, opt.request_page );
if( strcmp( opt.request_page, "SERVERQUIT" ) == 0 )
len = sprintf( (char *) buf, "%s", opt.request_page );
else
len = sprintf( (char *) buf, GET_REQUEST, opt.request_page );
for( written = 0, frags = 0; written < len; written += ret, frags++ )
{