aboutsummaryrefslogtreecommitdiff
path: root/devel/mercurial/files/patch-mercurial_sslutil.py
diff options
context:
space:
mode:
authorOlivier Duchateau <olivierd@FreeBSD.org>2016-03-31 18:39:28 +0000
committerOlivier Duchateau <olivierd@FreeBSD.org>2016-03-31 18:39:28 +0000
commit847fef4d2acd28d745c9fe57194624dafc02e927 (patch)
tree9df0e9f514a4c2b17be1e97095c23241fe249f56 /devel/mercurial/files/patch-mercurial_sslutil.py
parent103364b40c6d2f1cca702e0598308eb5f695d8d1 (diff)
downloadports-847fef4d2acd28d745c9fe57194624dafc02e927.tar.gz
ports-847fef4d2acd28d745c9fe57194624dafc02e927.zip
MFH: r405052 r407795 r408138 r410451 r4121402016Q1
Update to 3.6.3 (regularly bugfix release) Changelog: https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.6.2_.282016-1-1.29 - Update to 3.7 - Remove unneeded patch (about unsafe SSL protocols) Changelog: https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7_.282016-2-1.29 Update to 3.7.1 (out-of-cycle bugfix release) Changelog: https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.1_.282016-2-3.29 Update to 3.7.2 Changelog: https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.2_.282016-3-1.29 Update to 2.7.3 Changes: https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_3.7.3_.282016-3-29.29 Security: e1085b15-f609-11e5-a230-0014a5a57822 Approved by: ports-secteam (erwin@)
Notes
Notes: svn path=/branches/2016Q1/; revision=412283
Diffstat (limited to 'devel/mercurial/files/patch-mercurial_sslutil.py')
-rw-r--r--devel/mercurial/files/patch-mercurial_sslutil.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/devel/mercurial/files/patch-mercurial_sslutil.py b/devel/mercurial/files/patch-mercurial_sslutil.py
deleted file mode 100644
index 48093aef1610..000000000000
--- a/devel/mercurial/files/patch-mercurial_sslutil.py
+++ /dev/null
@@ -1,18 +0,0 @@
-Change condition in order to prevent SSLv2 and SSLv3 protocols.
-Taken from ${PYTHON_LIBDIR}/ssl.py file (found in 'create_default_context'
-function).
-
---- mercurial/sslutil.py.orig 2015-07-18 22:33:53 UTC
-+++ mercurial/sslutil.py
-@@ -28,7 +28,10 @@ try:
- # maintainers for us, but that breaks too many things to
- # do it in a hurry.
- sslcontext = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
-- sslcontext.options &= ssl.OP_NO_SSLv2 & ssl.OP_NO_SSLv3
-+ # SSLv2 is considered harmful
-+ sslcontext.options |= ssl.OP_NO_SSLv2
-+ # SSLv3 has problematic security issue
-+ sslcontext.options |= ssl.OP_NO_SSLv3
- if certfile is not None:
- def password():
- f = keyfile or certfile