Lines Matching refs:max_version
449 " max_version=%%s default: (library default: tls12)\n" \
505 int max_version; /* maximum protocol version accepted */
953 opt.max_version = DFL_MAX_VERSION;
1300 } else if (strcmp(p, "max_version") == 0) {
1303 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2;
1307 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3;
1322 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2;
1325 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2;
1331 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3;
1498 if (opt.max_version != -1 &&
1499 ciphersuite_info->min_tls_version > opt.max_version) {
1513 if (opt.max_version == -1 ||
1514 opt.max_version > ciphersuite_info->max_tls_version) {
1515 opt.max_version = ciphersuite_info->max_tls_version;
2023 if (opt.max_version != DFL_MAX_VERSION) {
2024 mbedtls_ssl_conf_max_tls_version(&conf, opt.max_version);