Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 897966 Details for
Bug 1099423
https://gcc.gnu.org unaccessible since #881411
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
[PATCH] Resolves: #1099423 - do not enable SSLv2 any more
0001-Resolves-1099423-do-not-enable-SSLv2-any-more.patch (text/plain), 2.64 KB, created by
Kamil Dudka
on 2014-05-21 12:50:00 UTC
(
hide
)
Description:
[PATCH] Resolves: #1099423 - do not enable SSLv2 any more
Filename:
MIME Type:
Creator:
Kamil Dudka
Created:
2014-05-21 12:50:00 UTC
Size:
2.64 KB
patch
obsolete
>From d5a837df904b6f411887d93332ac4572923b92bc Mon Sep 17 00:00:00 2001 >From: Kamil Dudka <kdudka@redhat.com> >Date: Wed, 21 May 2014 14:43:56 +0200 >Subject: [PATCH] Resolves: #1099423 - do not enable SSLv2 any more > >--- > src/ssl.c | 25 +++++++++---------------- > 1 file changed, 9 insertions(+), 16 deletions(-) > >diff --git a/src/ssl.c b/src/ssl.c >index 2ebb013..b37c0f4 100644 >--- a/src/ssl.c >+++ b/src/ssl.c >@@ -1712,8 +1712,7 @@ int SSL_write(SSL *ssl, const void *buf, int num) > return rv; > } > >-SSL_METHOD *create_context(PRBool ssl2, PRBool ssl3, PRBool tlsv1, >- PRBool server) >+SSL_METHOD *create_context(PRBool ssl3, PRBool tlsv1, PRBool server) > { > PRFileDesc *s = NULL; > PRFileDesc *layer; >@@ -1754,12 +1753,6 @@ SSL_METHOD *create_context(PRBool ssl2, PRBool ssl3, PRBool tlsv1, > if (SSL_OptionSet(s, SSL_HANDSHAKE_AS_SERVER, server) != SECSuccess) > goto error; > >- if (SSL_OptionSet(s, SSL_ENABLE_SSL2, ssl2) != SECSuccess) >- goto error; >- >- if (SSL_OptionSet(s, SSL_V2_COMPATIBLE_HELLO, ssl2) != SECSuccess) >- goto error; >- > if (SSL_OptionSet(s, SSL_ENABLE_SSL3, ssl3) != SECSuccess) > goto error; > >@@ -1816,42 +1809,42 @@ SSL_METHOD *create_context(PRBool ssl2, PRBool ssl3, PRBool tlsv1, > > SSL_METHOD *SSLv2_client_method(void) > { >- return create_context(PR_TRUE, PR_FALSE, PR_FALSE, PR_FALSE); >+ return create_context(PR_FALSE, PR_FALSE, PR_FALSE); > } > > SSL_METHOD *SSLv23_client_method(void) > { >- return create_context(PR_TRUE, PR_TRUE, PR_TRUE, PR_FALSE); >+ return create_context(PR_TRUE, PR_TRUE, PR_FALSE); > } > > SSL_METHOD *SSLv3_client_method(void) > { >- return create_context(PR_FALSE, PR_TRUE, PR_FALSE, PR_FALSE); >+ return create_context(PR_TRUE, PR_FALSE, PR_FALSE); > } > > SSL_METHOD *TLSv1_client_method(void) > { >- return create_context(PR_FALSE, PR_FALSE, PR_TRUE, PR_FALSE); >+ return create_context(PR_FALSE, PR_TRUE, PR_FALSE); > } > > SSL_METHOD *SSLv2_server_method(void) > { >- return create_context(PR_TRUE, PR_FALSE, PR_FALSE, PR_TRUE); >+ return create_context(PR_FALSE, PR_FALSE, PR_TRUE); > } > > SSL_METHOD *SSLv23_server_method(void) > { >- return create_context(PR_TRUE, PR_TRUE, PR_TRUE, PR_TRUE); >+ return create_context(PR_TRUE, PR_TRUE, PR_TRUE); > } > > SSL_METHOD *SSLv3_server_method(void) > { >- return create_context(PR_FALSE, PR_TRUE, PR_FALSE, PR_TRUE); >+ return create_context(PR_TRUE, PR_FALSE, PR_TRUE); > } > > SSL_METHOD *TLSv1_server_method(void) > { >- return create_context(PR_FALSE, PR_FALSE, PR_TRUE, PR_TRUE); >+ return create_context(PR_FALSE, PR_TRUE, PR_TRUE); > } > > SSL_CTX *SSL_CTX_new(SSL_METHOD *passed) >-- >1.8.3.1 >
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 1099423
: 897966