Lines Matching refs:max_version
575 " max_version=%%s default: (library default: tls12)\n" \
653 int max_version; /* maximum protocol version accepted */
1731 opt.max_version = DFL_MAX_VERSION;
2086 } else if (strcmp(p, "max_version") == 0) {
2089 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2;
2093 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3;
2108 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2;
2111 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2;
2117 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3;
2379 if (opt.max_version != -1 &&
2380 ciphersuite_info->min_tls_version > opt.max_version) {
2394 if (opt.max_version == -1 ||
2395 opt.max_version > ciphersuite_info->max_tls_version) {
2396 opt.max_version = ciphersuite_info->max_tls_version;
3251 if (opt.max_version != DFL_MIN_VERSION) {
3252 mbedtls_ssl_conf_max_tls_version(&conf, opt.max_version);