mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
just use LooseVersion in test
This commit is contained in:
parent
c8d11dc9e0
commit
59931672e2
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ def main(openssl_version, apache_version):
|
|||
conf_file_location = "/etc/letsencrypt/options-ssl-apache.conf"
|
||||
with open(conf_file_location) as f:
|
||||
contents = f.read()
|
||||
if tuple(apache_version.split(".")) < (2, 4, 11) or \
|
||||
if LooseVersion(apache_version.strip()) < LooseVersion('2.4.11') or \
|
||||
LooseVersion(openssl_version.strip()) < LooseVersion('1.0.2l'):
|
||||
# should be old version
|
||||
# assert SSLSessionTickets not in conf file
|
||||
|
|
|
|||
Loading…
Reference in a new issue