mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
Merge pull request #7 from crrodriguez/master
The BEAST is gonna get ya...
This commit is contained in:
commit
9446307c12
@ -155,7 +155,7 @@ class mySSLContext(SSL.Context):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
SSL.Context.__init__(self, 'sslv23')
|
SSL.Context.__init__(self, 'sslv23')
|
||||||
self.set_options(m2.SSL_OP_NO_SSLv2 | m2.SSL_OP_NO_SSLv3)
|
self.set_options(m2.SSL_OP_NO_SSLv2 | m2.SSL_OP_NO_SSLv3)
|
||||||
self.set_cipher_list("ALL:!aNULL:!eNULL:!SSLv2:!LOW:!EXP:!MD5:@STRENGTH")
|
self.set_cipher_list("ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH")
|
||||||
self.set_session_cache_mode(m2.SSL_SESS_CACHE_CLIENT)
|
self.set_session_cache_mode(m2.SSL_SESS_CACHE_CLIENT)
|
||||||
self.verrs = None
|
self.verrs = None
|
||||||
#self.set_info_callback() # debug
|
#self.set_info_callback() # debug
|
||||||
|
Loading…
Reference in New Issue
Block a user