Skip to content

Commit

Permalink
openssl_version is a byte string
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlundberg committed Jan 15, 2019
1 parent 4126c73 commit 1ec6b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xmlsec/test/p11_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def setup():
with open(openssl_conf, "w") as f:
dynamic_path = (
"dynamic_path = %s" % component_path['P11_ENGINE']
if openssl_version.startswith('1.')
if openssl_version.startswith(b'1.')
else ""
)
f.write("\n".join([
Expand Down

0 comments on commit 1ec6b05

Please sign in to comment.