ASF Bugzilla – Attachment 33085 Details for
Bug 58349
Support OPENSSL_NO_SSL3 builds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix build/runtime with SSLv3 disabled in libssl
nossl3.diff (text/plain), 1.25 KB, created by
stu-bz.apache
on 2015-09-09 13:11:18 UTC
(
hide
)
Description:
Fix build/runtime with SSLv3 disabled in libssl
Filename:
MIME Type:
Creator:
stu-bz.apache
Created:
2015-09-09 13:11:18 UTC
Size:
1.25 KB
patch
obsolete
>--- support/ab.c.orig Fri Jul 17 22:55:57 2015 >+++ support/ab.c Fri Jul 17 22:56:13 2015 >@@ -2314,8 +2314,10 @@ int main(int argc, const char * const argv[]) > } else if (strncasecmp(opt_arg, "SSL2", 4) == 0) { > meth = SSLv2_client_method(); > #endif >+#ifndef OPENSSL_NO_SSL3 > } else if (strncasecmp(opt_arg, "SSL3", 4) == 0) { > meth = SSLv3_client_method(); >+#endif > #ifdef HAVE_TLSV1_X > } else if (strncasecmp(opt_arg, "TLS1.1", 6) == 0) { > meth = TLSv1_1_client_method(); > >--- modules/ssl/ssl_engine_init.c.orig Sun Sep 6 15:23:52 2015 >+++ modules/ssl/ssl_engine_init.c Sun Sep 6 15:57:35 2015 >@@ -484,9 +484,15 @@ static apr_status_t ssl_init_ctx_protocol(server_rec * > "Creating new SSL context (protocols: %s)", cp); > > if (protocol == SSL_PROTOCOL_SSLV3) { >+#ifndef OPENSSL_NO_SSL3 > method = mctx->pkp ? > SSLv3_client_method() : /* proxy */ > SSLv3_server_method(); /* server */ >+#else >+ ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, >+ "SSLv3 protocol not available"); >+ return ssl_die(s); >+#endif > } > else if (protocol == SSL_PROTOCOL_TLSV1) { > method = mctx->pkp ? > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 58349
:
33085
|
33101