View | Details | Raw Unified | Return to bug 64699
Collapse All | Expand All

(-)a/support/ab.c (-4 / +6 lines)
Lines 2160-2166 static void usage(const char *progname) Link Here
2160
#endif
2160
#endif
2161
2161
2162
#ifdef HAVE_TLSV1_X
2162
#ifdef HAVE_TLSV1_X
2163
#define TLS1_X_HELP_MSG ", TLS1.1, TLS1.2"
2163
#define TLS1_X_HELP_MSG ", TLS1.1, TLS1.2, TLS1.3"
2164
#else
2164
#else
2165
#define TLS1_X_HELP_MSG ""
2165
#define TLS1_X_HELP_MSG ""
2166
#endif
2166
#endif
Lines 2294-2300 int main(int argc, const char * const argv[]) Link Here
2294
    const char *opt_arg;
2294
    const char *opt_arg;
2295
    char c;
2295
    char c;
2296
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
2296
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
2297
    int max_prot = TLS1_2_VERSION;
2297
    int max_prot = TLS1_3_VERSION;
2298
#ifndef OPENSSL_NO_SSL3
2298
#ifndef OPENSSL_NO_SSL3
2299
    int min_prot = SSL3_VERSION;
2299
    int min_prot = SSL3_VERSION;
2300
#else
2300
#else
Lines 2559-2565 int main(int argc, const char * const argv[]) Link Here
2559
#else /* #if OPENSSL_VERSION_NUMBER < 0x10100000L */
2559
#else /* #if OPENSSL_VERSION_NUMBER < 0x10100000L */
2560
                meth = TLS_client_method();
2560
                meth = TLS_client_method();
2561
                if (strncasecmp(opt_arg, "ALL", 3) == 0) {
2561
                if (strncasecmp(opt_arg, "ALL", 3) == 0) {
2562
                    max_prot = TLS1_2_VERSION;
2562
                    max_prot = TLS1_3_VERSION;
2563
#ifndef OPENSSL_NO_SSL3
2563
#ifndef OPENSSL_NO_SSL3
2564
                    min_prot = SSL3_VERSION;
2564
                    min_prot = SSL3_VERSION;
2565
#else
2565
#else
Lines 2576-2581 int main(int argc, const char * const argv[]) Link Here
2576
                } else if (strncasecmp(opt_arg, "TLS1.2", 6) == 0) {
2576
                } else if (strncasecmp(opt_arg, "TLS1.2", 6) == 0) {
2577
                    max_prot = TLS1_2_VERSION;
2577
                    max_prot = TLS1_2_VERSION;
2578
                    min_prot = TLS1_2_VERSION;
2578
                    min_prot = TLS1_2_VERSION;
2579
                } else if (strncasecmp(opt_arg, "TLS1.3", 6) == 0) {
2580
                    max_prot = TLS1_3_VERSION;
2581
                    min_prot = TLS1_3_VERSION;
2579
                } else if (strncasecmp(opt_arg, "TLS1", 4) == 0) {
2582
                } else if (strncasecmp(opt_arg, "TLS1", 4) == 0) {
2580
                    max_prot = TLS1_VERSION;
2583
                    max_prot = TLS1_VERSION;
2581
                    min_prot = TLS1_VERSION;
2584
                    min_prot = TLS1_VERSION;
2582
- 

Return to bug 64699