1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Move set_cbc_record_splitting() to conf

This commit is contained in:
Manuel Pégourié-Gonnard
2015-05-05 16:34:53 +01:00
parent d36e33fc07
commit 17eab2b65c
3 changed files with 14 additions and 10 deletions

View File

@@ -1101,7 +1101,7 @@ int main( int argc, char *argv[] )
#if defined(MBEDTLS_SSL_CBC_RECORD_SPLITTING)
if( opt.recsplit != DFL_RECSPLIT )
mbedtls_ssl_set_cbc_record_splitting( &ssl, opt.recsplit
mbedtls_ssl_set_cbc_record_splitting( &conf, opt.recsplit
? MBEDTLS_SSL_CBC_RECORD_SPLITTING_ENABLED
: MBEDTLS_SSL_CBC_RECORD_SPLITTING_DISABLED );
#endif