Lines Matching refs:max_version
302 int max_version; /* maximum protocol version accepted */ member
492 opt.max_version = DFL_MAX_VERSION; in main()
687 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_0; in main()
689 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_1; in main()
692 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
695 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
713 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_0; in main()
718 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_1; in main()
723 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
728 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
733 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_2; in main()
739 opt.max_version = MBEDTLS_SSL_MINOR_VERSION_3; in main()
813 if( opt.max_version != -1 && in main()
814 ciphersuite_info->min_minor_ver > opt.max_version ) in main()
830 if( opt.max_version == -1 || in main()
831 opt.max_version > ciphersuite_info->max_minor_ver ) in main()
833 opt.max_version = ciphersuite_info->max_minor_ver; in main()
1201 if( opt.max_version != DFL_MAX_VERSION ) in main()
1202 mbedtls_ssl_conf_max_version( &conf, MBEDTLS_SSL_MAJOR_VERSION_3, opt.max_version ); in main()