Skip to content

Commit

Permalink
Tests: fix SSL detection for newer servers
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Apr 8, 2021
1 parent fe89e8e commit 39ca39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
version_str = re.search('((\d+\.)+\d+)', info['version']).group(0)
SERVER_VERSION = tuple(map(int, version_str.split('.')))
# Do we have SSL support?
SSL_ENABLED = bool(info.get('OpenSSLVersion'))
SSL_ENABLED = bool(info.get('OpenSSLVersion')) or bool(info.get('openssl'))
finally:
Servers().cleanup()

Expand Down

0 comments on commit 39ca39b

Please sign in to comment.