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

(-)support/ab.c.orig (+2 lines)
Lines 2314-2321 int main(int argc, const char * const argv[]) Link Here
2314
                } else if (strncasecmp(opt_arg, "SSL2", 4) == 0) {
2314
                } else if (strncasecmp(opt_arg, "SSL2", 4) == 0) {
2315
                    meth = SSLv2_client_method();
2315
                    meth = SSLv2_client_method();
2316
#endif
2316
#endif
2317
#ifndef OPENSSL_NO_SSL3
2317
                } else if (strncasecmp(opt_arg, "SSL3", 4) == 0) {
2318
                } else if (strncasecmp(opt_arg, "SSL3", 4) == 0) {
2318
                    meth = SSLv3_client_method();
2319
                    meth = SSLv3_client_method();
2320
#endif
2319
#ifdef HAVE_TLSV1_X
2321
#ifdef HAVE_TLSV1_X
2320
                } else if (strncasecmp(opt_arg, "TLS1.1", 6) == 0) {
2322
                } else if (strncasecmp(opt_arg, "TLS1.1", 6) == 0) {
2321
                    meth = TLSv1_1_client_method();
2323
                    meth = TLSv1_1_client_method();
(-)modules/ssl/ssl_engine_init.c.orig (+6 lines)
Lines 484-492 static apr_status_t ssl_init_ctx_protocol(server_rec * Link Here
484
                 "Creating new SSL context (protocols: %s)", cp);
484
                 "Creating new SSL context (protocols: %s)", cp);
485
485
486
    if (protocol == SSL_PROTOCOL_SSLV3) {
486
    if (protocol == SSL_PROTOCOL_SSLV3) {
487
#ifndef OPENSSL_NO_SSL3
487
        method = mctx->pkp ?
488
        method = mctx->pkp ?
488
            SSLv3_client_method() : /* proxy */
489
            SSLv3_client_method() : /* proxy */
489
            SSLv3_server_method();  /* server */
490
            SSLv3_server_method();  /* server */
491
#else
492
        ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s,
493
            "SSLv3 protocol not available");
494
        return ssl_die(s);
495
#endif
490
    }
496
    }
491
    else if (protocol == SSL_PROTOCOL_TLSV1) {
497
    else if (protocol == SSL_PROTOCOL_TLSV1) {
492
        method = mctx->pkp ?
498
        method = mctx->pkp ?

Return to bug 58349