Rename ssl_legacy_renegotiation() to ssl_set_...

This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-06 17:55:51 +01:00
parent 6e088f9a0f
commit ae31914990
6 changed files with 6 additions and 6 deletions

View file

@ -2443,7 +2443,7 @@
#define ssl_hw_record_write mbedtls_ssl_hw_record_write #define ssl_hw_record_write mbedtls_ssl_hw_record_write
#define ssl_init mbedtls_ssl_init #define ssl_init mbedtls_ssl_init
#define ssl_key_cert mbedtls_ssl_key_cert #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_list_ciphersuites mbedtls_ssl_list_ciphersuites
#define ssl_md_alg_from_hash mbedtls_ssl_md_alg_from_hash #define ssl_md_alg_from_hash mbedtls_ssl_md_alg_from_hash
#define ssl_optimize_checksum mbedtls_ssl_optimize_checksum #define ssl_optimize_checksum mbedtls_ssl_optimize_checksum

View file

@ -1962,7 +1962,7 @@ void mbedtls_ssl_set_renegotiation( mbedtls_ssl_config *conf, int renegotiation
* SSL_ALLOW_LEGACY_RENEGOTIATION or * SSL_ALLOW_LEGACY_RENEGOTIATION or
* MBEDTLS_SSL_LEGACY_BREAK_HANDSHAKE) * 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) #if defined(MBEDTLS_SSL_RENEGOTIATION)
/** /**

View file

@ -5609,7 +5609,7 @@ void mbedtls_ssl_set_cbc_record_splitting( mbedtls_ssl_config *conf, char split
} }
#endif #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; conf->allow_legacy_renegotiation = allow_legacy;
} }

View file

@ -1145,7 +1145,7 @@ int main( int argc, char *argv[] )
mbedtls_ssl_set_arc4_support( &conf, opt.arc4 ); mbedtls_ssl_set_arc4_support( &conf, opt.arc4 );
if( opt.allow_legacy != DFL_ALLOW_LEGACY ) 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) #if defined(MBEDTLS_SSL_RENEGOTIATION)
mbedtls_ssl_set_renegotiation( &conf, opt.renegotiation ); mbedtls_ssl_set_renegotiation( &conf, opt.renegotiation );
#endif #endif

View file

@ -1664,7 +1664,7 @@ int main( int argc, char *argv[] )
} }
if( opt.allow_legacy != DFL_ALLOW_LEGACY ) 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) #if defined(MBEDTLS_SSL_RENEGOTIATION)
mbedtls_ssl_set_renegotiation( &conf, opt.renegotiation ); mbedtls_ssl_set_renegotiation( &conf, opt.renegotiation );

View file

@ -1969,7 +1969,7 @@ ssl_hw_record_reset mbedtls_ssl_hw_record_reset
ssl_hw_record_write mbedtls_ssl_hw_record_write ssl_hw_record_write mbedtls_ssl_hw_record_write
ssl_init mbedtls_ssl_init ssl_init mbedtls_ssl_init
ssl_key_cert mbedtls_ssl_key_cert 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_list_ciphersuites mbedtls_ssl_list_ciphersuites
ssl_md_alg_from_hash mbedtls_ssl_md_alg_from_hash ssl_md_alg_from_hash mbedtls_ssl_md_alg_from_hash
ssl_optimize_checksum mbedtls_ssl_optimize_checksum ssl_optimize_checksum mbedtls_ssl_optimize_checksum