Rev562, Check site privatekey from users.json when executing siteSign, Optional files checking on owned sites, Fix workermanager error on set list of peers, Fix PROTOCOL_SSLv3 error happens on some linux distrib

This commit is contained in:
HelloZeroNet 2015-11-08 12:33:13 +01:00
parent c2fc131cdc
commit 2cf34c132f
6 changed files with 27 additions and 7 deletions

View file

@ -94,5 +94,9 @@ try:
except Exception, err:
pass
# Fix PROTOCOL_SSLv3 not defined
if "PROTOCOL_SSLv3" not in dir(__ssl__):
__ssl__.PROTOCOL_SSLv3 = __ssl__.PROTOCOL_SSLv23
logging.debug("Redirected PROTOCOL_SSLv3 to PROTOCOL_SSLv23.")
logging.debug("Python SSL version: %s" % __ssl__.OPENSSL_VERSION)