Blame SOURCES/rhnlib-2.5.65-7-el7-to-rhnlib-2.5.65-8-el7.patch

820809
diff --git a/rhn/SSL.py b/rhn/SSL.py
820809
index c3d338868f..5ffadf5858 100644
820809
--- a/rhn/SSL.py
820809
+++ b/rhn/SSL.py
820809
@@ -85,6 +85,8 @@ class SSLSocket:
820809
         self._check_closed()
820809
         # Get a context
820809
         self._ctx = SSL.Context(self._ssl_method)
820809
+        self._ctx.set_options(SSL.OP_NO_SSLv2)
820809
+        self._ctx.set_options(SSL.OP_NO_SSLv3)
820809
         if self._trusted_certs:
820809
             # We have been supplied with trusted CA certs
820809
             for f in self._trusted_certs:
820809
diff --git a/rhnlib.spec b/rhnlib.spec
820809
index 64d5224123..281156930a 100644
820809
--- a/rhnlib.spec
820809
+++ b/rhnlib.spec
820809
@@ -5,7 +5,7 @@ Name: rhnlib
820809
 URL:     https://github.com/spacewalkproject/spacewalk
820809
 Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
820809
 Version: 2.5.65
820809
-Release: 7%{?dist}
820809
+Release: 8%{?dist}
820809
 
820809
 Group: Development/Libraries
820809
 License: GPLv2
820809
@@ -59,6 +59,10 @@ rm -rf $RPM_BUILD_ROOT
820809
 %{python_sitelib}/*
820809
 
820809
 %changelog
820809
+* Fri Jul 27 2018 Tomas Kasparek <tkasparek@redhat.com> 2.5.65-8
820809
+- Resolves: #1608425 - forbid old SSL versions during negotiation
820809
+  (tkasparek@redhat.com)
820809
+
820809
 * Thu Oct 19 2017 Tomas Kasparek <tkasparek@redhat.com> 2.5.65-7
820809
 - Resolves: #1503953 - upstream project has migrated to github
820809
   (tkasparek@redhat.com)