mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-07 15:02:56 +00:00
Rename ssl_set_bio_timeout() to set_bio()
Initially thought it was best to keep the old function around and add a new one, but this so many ssl_set_xxx() functions are changing anyway...
This commit is contained in:
@@ -250,7 +250,7 @@ int main( void )
|
||||
goto exit;
|
||||
}
|
||||
|
||||
mbedtls_ssl_set_bio_timeout( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL );
|
||||
mbedtls_ssl_set_bio( &ssl, &server_fd, mbedtls_net_send, mbedtls_net_recv, NULL );
|
||||
|
||||
if( mbedtls_ssl_handshake( &ssl ) != 0 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user