mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Ability to disable server_name extension (RFC 6066)
This commit is contained in:
parent
d2f068e071
commit
0be444a8b1
8 changed files with 41 additions and 6 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue