Skip to content

Commit 1ec6b05

Browse files
committed
openssl_version is a byte string
1 parent 4126c73 commit 1ec6b05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/xmlsec/test/p11_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def setup():
159159
with open(openssl_conf, "w") as f:
160160
dynamic_path = (
161161
"dynamic_path = %s" % component_path['P11_ENGINE']
162-
if openssl_version.startswith('1.')
162+
if openssl_version.startswith(b'1.')
163163
else ""
164164
)
165165
f.write("\n".join([

0 commit comments

Comments
 (0)