Lines Matching refs:max_version
653 int max_version; /* maximum protocol version accepted */ member
1731 opt.max_version = DFL_MAX_VERSION; in main()
2089 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2093 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3; in main()
2108 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2111 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
2117 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3; in main()
2379 if (opt.max_version != -1 && in main()
2380 ciphersuite_info->min_tls_version > opt.max_version) { in main()
2394 if (opt.max_version == -1 || in main()
2395 opt.max_version > ciphersuite_info->max_tls_version) { in main()
2396 opt.max_version = ciphersuite_info->max_tls_version; in main()
3251 if (opt.max_version != DFL_MIN_VERSION) { in main()
3252 mbedtls_ssl_conf_max_tls_version(&conf, opt.max_version); in main()