mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 00:39:46 +00:00
Ability to disable server_name extension (RFC 6066)
This commit is contained in:
@@ -719,7 +719,9 @@ int main( int argc, char *argv[] )
|
||||
strlen( opt.psk_identity ) );
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_SSL_SERVER_NAME_INDICATION)
|
||||
ssl_set_hostname( &ssl, opt.server_name );
|
||||
#endif
|
||||
|
||||
if( opt.min_version != -1 )
|
||||
ssl_set_min_version( &ssl, SSL_MAJOR_VERSION_3, opt.min_version );
|
||||
|
||||
Reference in New Issue
Block a user