mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Merge branch 'development' into dtls
* development: Adapt tests to new defaults/errors. Fix typos/cosmetics in Changelog Disable RC4 by default in example programs. Add ssl_set_arc4_support() Set min version to TLS 1.0 in programs Conflicts: include/polarssl/ssl.h library/ssl_cli.c library/ssl_srv.c tests/compat.sh
This commit is contained in:
commit
67505bf9e8
14 changed files with 164 additions and 34 deletions
|
|
@ -264,6 +264,12 @@ int main( int argc, char *argv[] )
|
|||
ssl_set_endpoint( &ssl, SSL_IS_SERVER );
|
||||
ssl_set_authmode( &ssl, SSL_VERIFY_NONE );
|
||||
|
||||
/* SSLv3 is deprecated, set minimum to TLS 1.0 */
|
||||
ssl_set_min_version( &ssl, SSL_MAJOR_VERSION_3,
|
||||
SSL_MINOR_VERSION_1 );
|
||||
/* RC4 is deprecated, disable it */
|
||||
ssl_set_arc4_support( &ssl, SSL_ARC4_DISABLED );
|
||||
|
||||
ssl_set_rng( &ssl, ctr_drbg_random, &ctr_drbg );
|
||||
ssl_set_dbg( &ssl, my_debug, stdout );
|
||||
ssl_set_bio( &ssl, net_recv, &client_fd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue