Rev2090, Fix ssl patch library finding, Changelog for 0.5.5

This commit is contained in:
shortcutme 2017-05-26 12:14:43 +02:00
parent 5d6169c232
commit e291555e60
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
3 changed files with 26 additions and 6 deletions

View File

@ -1,3 +1,22 @@
## ZeroNet 0.5.5 (2017-05-18)
### Added
- Outgoing socket binding by --bind parameter
- Database rebuilding progress bar
- Protect low traffic site's peers from cleanup closing
- Local site blacklisting
- Cloned site source code upgrade from parent
- Input placeholder support for displayPrompt
- Alternative interaction for wrapperConfirm
### Changed
- New file priorities for faster site display on first visit
- Don't add ? to url if push/replaceState url starts with #
### Fixed
- PermissionAdd/Remove admin command requirement
- Multi-line confirmation dialog
## ZeroNet 0.5.4 (2017-04-14)
### Added
- Major speed and CPU usage enhancements in Tor always mode

View File

@ -10,7 +10,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.5.5"
self.rev = 2089
self.rev = 2090
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"

View File

@ -3,6 +3,7 @@
import logging
import os
import sys
from Config import config
@ -17,12 +18,12 @@ def openLibrary():
dll_path = "/bin/cygcrypto-1.0.0.dll"
else:
dll_path = "/usr/local/ssl/lib/libcrypto.so"
ssl = ctypes.CDLL(dll_path, ctypes.RTLD_GLOBAL)
assert ssl
ssl_lib = ctypes.CDLL(dll_path, ctypes.RTLD_GLOBAL)
assert ssl_lib
except:
dll_path = ctypes.util.find_library('ssl') or ctypes.util.find_library('crypto') or ctypes.util.find_library('libcrypto')
ssl = ctypes.CDLL(dll_path or 'libeay32', ctypes.RTLD_GLOBAL)
return ssl
dll_path = ctypes.util.find_library('ssl.so.1.0') or ctypes.util.find_library('ssl') or ctypes.util.find_library('crypto') or ctypes.util.find_library('libcrypto')
ssl_lib = ctypes.CDLL(dll_path or 'libeay32', ctypes.RTLD_GLOBAL)
return ssl_lib
def disableSSLCompression():