mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 13:56:42 +01:00
Actually increment the loop counter to quit in ssl_fork_server
This commit is contained in:
parent
0c22610693
commit
030decdb4e
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ int main( int argc, char *argv[] )
|
||||||
len = sprintf( (char *) buf, HTTP_RESPONSE,
|
len = sprintf( (char *) buf, HTTP_RESPONSE,
|
||||||
ssl_get_ciphersuite( &ssl ) );
|
ssl_get_ciphersuite( &ssl ) );
|
||||||
|
|
||||||
while( cnt < 100 )
|
while( cnt++ < 100 )
|
||||||
{
|
{
|
||||||
while( ( ret = ssl_write( &ssl, buf, len ) ) <= 0 )
|
while( ( ret = ssl_write( &ssl, buf, len ) ) <= 0 )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue