components/elinks/patches/init-openssl.patch
author Qiang Strony Zhang <strony.zhang@oracle.com>
Fri, 09 Oct 2015 11:54:18 -0700
branchs11u3-sru
changeset 4937 8f0976d7e40e
parent 3590 1b75635bc6a3
permissions -rw-r--r--
PSARC 2015/289 OpenStack Cinder Enhancements 20938366 cinder backup and volume-migration need to be supported in openstack 21215160 cinder SAN needs Paramiko 21365620 cinder volume backups sometimes fail on SPARC
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3590
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
Disable SSLv2 and SSLv3 in elinks to "mitigate POODLE vulnerability".
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
This change will be passed upstream.
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
--- elinks-0.11.7/src/network/ssl/ssl.c.orig	2014-12-17 12:23:16.239844159 -0800
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
+++ elinks-0.11.7/src/network/ssl/ssl.c	2015-01-06 05:41:07.668610655 -0800
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
@@ -58,6 +58,7 @@
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
 	SSLeay_add_ssl_algorithms();
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
 	context = SSL_CTX_new(SSLv23_client_method());
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
 	SSL_CTX_set_options(context, SSL_OP_ALL);
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
+	SSL_CTX_set_options(context, SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3);
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
 	SSL_CTX_set_default_verify_paths(context);
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
 }
1b75635bc6a3 20230898 problem in UTILITY/ELINKS
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14