mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 02:43:42 +00:00
Rename ssl_legacy_renegotiation() to ssl_set_...
This commit is contained in:
parent
6e088f9a0f
commit
ae31914990
6 changed files with 6 additions and 6 deletions
|
@ -2443,7 +2443,7 @@
|
|||
#define ssl_hw_record_write mbedtls_ssl_hw_record_write
|
||||
#define ssl_init mbedtls_ssl_init
|
||||
#define ssl_key_cert mbedtls_ssl_key_cert
|
||||
#define ssl_legacy_renegotiation mbedtls_ssl_legacy_renegotiation
|
||||
#define ssl_legacy_renegotiation mbedtls_set_ssl_legacy_renegotiation
|
||||
#define ssl_list_ciphersuites mbedtls_ssl_list_ciphersuites
|
||||
#define ssl_md_alg_from_hash mbedtls_ssl_md_alg_from_hash
|
||||
#define ssl_optimize_checksum mbedtls_ssl_optimize_checksum
|
||||
|
|
|
@ -1962,7 +1962,7 @@ void mbedtls_ssl_set_renegotiation( mbedtls_ssl_config *conf, int renegotiation
|
|||
* SSL_ALLOW_LEGACY_RENEGOTIATION or
|
||||
* MBEDTLS_SSL_LEGACY_BREAK_HANDSHAKE)
|
||||
*/
|
||||
void mbedtls_ssl_legacy_renegotiation( mbedtls_ssl_config *conf, int allow_legacy );
|
||||
void mbedtls_set_ssl_legacy_renegotiation( mbedtls_ssl_config *conf, int allow_legacy );
|
||||
|
||||
#if defined(MBEDTLS_SSL_RENEGOTIATION)
|
||||
/**
|
||||
|
|
|
@ -5609,7 +5609,7 @@ void mbedtls_ssl_set_cbc_record_splitting( mbedtls_ssl_config *conf, char split
|
|||
}
|
||||
#endif
|
||||
|
||||
void mbedtls_ssl_legacy_renegotiation( mbedtls_ssl_config *conf, int allow_legacy )
|
||||
void mbedtls_set_ssl_legacy_renegotiation( mbedtls_ssl_config *conf, int allow_legacy )
|
||||
{
|
||||
conf->allow_legacy_renegotiation = allow_legacy;
|
||||
}
|
||||
|
|
|
@ -1145,7 +1145,7 @@ int main( int argc, char *argv[] )
|
|||
mbedtls_ssl_set_arc4_support( &conf, opt.arc4 );
|
||||
|
||||
if( opt.allow_legacy != DFL_ALLOW_LEGACY )
|
||||
mbedtls_ssl_legacy_renegotiation( &conf, opt.allow_legacy );
|
||||
mbedtls_set_ssl_legacy_renegotiation( &conf, opt.allow_legacy );
|
||||
#if defined(MBEDTLS_SSL_RENEGOTIATION)
|
||||
mbedtls_ssl_set_renegotiation( &conf, opt.renegotiation );
|
||||
#endif
|
||||
|
|
|
@ -1664,7 +1664,7 @@ int main( int argc, char *argv[] )
|
|||
}
|
||||
|
||||
if( opt.allow_legacy != DFL_ALLOW_LEGACY )
|
||||
mbedtls_ssl_legacy_renegotiation( &conf, opt.allow_legacy );
|
||||
mbedtls_set_ssl_legacy_renegotiation( &conf, opt.allow_legacy );
|
||||
#if defined(MBEDTLS_SSL_RENEGOTIATION)
|
||||
mbedtls_ssl_set_renegotiation( &conf, opt.renegotiation );
|
||||
|
||||
|
|
|
@ -1969,7 +1969,7 @@ ssl_hw_record_reset mbedtls_ssl_hw_record_reset
|
|||
ssl_hw_record_write mbedtls_ssl_hw_record_write
|
||||
ssl_init mbedtls_ssl_init
|
||||
ssl_key_cert mbedtls_ssl_key_cert
|
||||
ssl_legacy_renegotiation mbedtls_ssl_legacy_renegotiation
|
||||
ssl_legacy_renegotiation mbedtls_set_ssl_legacy_renegotiation
|
||||
ssl_list_ciphersuites mbedtls_ssl_list_ciphersuites
|
||||
ssl_md_alg_from_hash mbedtls_ssl_md_alg_from_hash
|
||||
ssl_optimize_checksum mbedtls_ssl_optimize_checksum
|
||||
|
|
Loading…
Reference in a new issue