Lines Matching refs:max_version
516 int max_version; /* maximum protocol version accepted */ member
938 opt.max_version = DFL_MAX_VERSION; in main()
1243 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1247 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3; in main()
1262 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1265 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_2; in main()
1271 opt.max_version = MBEDTLS_SSL_VERSION_TLS1_3; in main()
1434 if (opt.max_version != -1 && in main()
1435 ciphersuite_info->min_tls_version > opt.max_version) { in main()
1449 if (opt.max_version == -1 || in main()
1450 opt.max_version > ciphersuite_info->max_tls_version) { in main()
1451 opt.max_version = ciphersuite_info->max_tls_version; in main()
2000 if (opt.max_version != DFL_MAX_VERSION) { in main()
2001 mbedtls_ssl_conf_max_tls_version(&conf, opt.max_version); in main()