mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 00:55:38 +01:00
Fix warning
This commit is contained in:
parent
b2eaac154b
commit
d5746b36f9
@ -4846,7 +4846,7 @@ int ssl_write( ssl_context *ssl, const unsigned char *buf, size_t len )
|
||||
return( ssl_write_real( ssl, buf, len ) );
|
||||
}
|
||||
|
||||
if( ssl->split_done == 0 )
|
||||
if( ssl->split_done != 1 )
|
||||
{
|
||||
ssl->split_done = 1;
|
||||
if( ( ret = ssl_write_real( ssl, buf, 1 ) ) < 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user