mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 00:39:46 +00:00
Quit using deprecated ssl_set_bio() in programs
This commit is contained in:
@@ -234,7 +234,7 @@ int main( void )
|
||||
goto exit;
|
||||
}
|
||||
|
||||
ssl_set_bio( &ssl, net_recv, &server_fd, net_send, &server_fd );
|
||||
ssl_set_bio_timeout( &ssl, &server_fd, net_send, net_recv, NULL, 0 );
|
||||
|
||||
if( ssl_handshake( &ssl ) != 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user