strip the trailing whitespace from fedora

This commit is contained in:
Erica Portnoy 2020-03-19 18:35:37 -07:00
parent b199930ea2
commit c8d11dc9e0

View file

@ -9,7 +9,7 @@ def main(openssl_version, apache_version):
with open(conf_file_location) as f:
contents = f.read()
if tuple(apache_version.split(".")) < (2, 4, 11) or \
LooseVersion(openssl_version) < LooseVersion('1.0.2l'):
LooseVersion(openssl_version.strip()) < LooseVersion('1.0.2l'):
# should be old version
# assert SSLSessionTickets not in conf file
if "SSLSessionTickets" in contents: