Lines Matching defs:version
706 fprintf(stderr, " -server_min_proto <string> - Minimum version the server should support\n");
707 fprintf(stderr, " -server_max_proto <string> - Maximum version the server should support\n");
708 fprintf(stderr, " -client_min_proto <string> - Minimum version the client should support\n");
709 fprintf(stderr, " -client_max_proto <string> - Maximum version the client should support\n");
710 fprintf(stderr, " -should_negotiate <string> - The version that should be negotiated, fail-client or fail-server\n");
799 * protocol_from_string - converts a protocol version string to a number
801 * Returns -1 on failure or the version on success
807 int version;
822 return versions[i].version;
866 * set_protocol_version - Sets protocol version minimum or maximum
870 static int set_protocol_version(const char *version, SSL *ssl, int setting)
872 if (version != NULL) {
873 int ver = protocol_from_string(version);
875 BIO_printf(bio_err, "Error parsing: %s\n", version);
1829 int version = protocol_from_string(should_negotiate);
1830 if (version < 0) {
1835 if (SSL_version(c_ssl) != version) {
1836 BIO_printf(bio_err, "Unexpected version negotiated. "