Lines Matching defs:should_negotiate
197 static const char *should_negotiate;
710 fprintf(stderr, " -should_negotiate <string> - The version that should be negotiated, fail-client or fail-server\n");
1148 } else if (strcmp(*argv, "-should_negotiate") == 0) {
1151 should_negotiate = *(++argv);
1826 if (should_negotiate && ret == EXIT_SUCCESS &&
1827 strcmp(should_negotiate, "fail-server") != 0 &&
1828 strcmp(should_negotiate, "fail-client") != 0) {
1829 int version = protocol_from_string(should_negotiate);
1831 BIO_printf(bio_err, "Error parsing: %s\n", should_negotiate);
1837 "Expected: %s, got %s\n", should_negotiate, SSL_get_version(c_ssl));
2204 if (should_negotiate != NULL && strcmp(should_negotiate, "fail-client") == 0)
2206 else if (should_negotiate != NULL && strcmp(should_negotiate, "fail-server") == 0)
2579 if (should_negotiate != NULL && strcmp(should_negotiate, "fail-client") == 0)
2581 else if (should_negotiate != NULL && strcmp(should_negotiate, "fail-server") == 0)
2866 if (should_negotiate != NULL && strcmp(should_negotiate, "fail-client") == 0)
2868 else if (should_negotiate != NULL && strcmp(should_negotiate, "fail-server") == 0)