From: Cristian Rodríguez
Signed-off-by: Cristian Rodríguez
---
osc/oscssl.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/osc/oscssl.py b/osc/oscssl.py
index e053838..36b8055 100644
--- a/osc/oscssl.py
+++ b/osc/oscssl.py
@@ -153,7 +153,7 @@ class ValidationErrors:
class mySSLContext(SSL.Context):
def __init__(self):
- SSL.Context.__init__(self, 'sslv23')
+ SSL.Context.__init__(self, 'tlsv1')
self.set_options(m2.SSL_OP_ALL | m2.SSL_OP_NO_SSLv2) # m2crypto does this for us but better safe than sorry
self.set_session_cache_mode(m2.SSL_SESS_CACHE_CLIENT)
self.verrs = None
--
1.7.4.1
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org