mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Move ssl_set_fallback() to work on conf
Initially thought it would be per-connection, but since max_version is in conf too, and you need to lower that for a fallback connection, the fallback flag should be in the same place
This commit is contained in:
parent
6bf89d6ad9
commit
684b0592cb
4 changed files with 9 additions and 10 deletions
|
|
@ -1207,7 +1207,7 @@ int main( int argc, char *argv[] )
|
|||
|
||||
#if defined(MBEDTLS_SSL_FALLBACK_SCSV)
|
||||
if( opt.fallback != DFL_FALLBACK )
|
||||
mbedtls_ssl_set_fallback( &ssl, opt.fallback );
|
||||
mbedtls_ssl_set_fallback( &conf, opt.fallback );
|
||||
#endif
|
||||
|
||||
mbedtls_printf( " ok\n" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue