mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Change default min TLS version to TLS 1.0
This commit is contained in:
parent
d16df8f60a
commit
8c8be1ebbb
10 changed files with 16 additions and 31 deletions
|
|
@ -4953,8 +4953,8 @@ int ssl_init( ssl_context *ssl )
|
|||
/*
|
||||
* Sane defaults
|
||||
*/
|
||||
ssl->min_major_ver = SSL_MIN_MAJOR_VERSION;
|
||||
ssl->min_minor_ver = SSL_MIN_MINOR_VERSION;
|
||||
ssl->min_major_ver = SSL_MAJOR_VERSION_3;
|
||||
ssl->min_minor_ver = SSL_MINOR_VERSION_1; /* TLS 1.0 */
|
||||
ssl->max_major_ver = SSL_MAX_MAJOR_VERSION;
|
||||
ssl->max_minor_ver = SSL_MAX_MINOR_VERSION;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue