Decode openssl_cflags bytes to utf8.

This commit is contained in:
Ilja Honkonen 2021-03-22 15:37:14 +02:00
parent 7c66577671
commit 557c16a6b9

View File

@ -301,7 +301,7 @@ def check_openssl():
' OpenSSL 0.9.8b or later with AES, Elliptic Curves (EC),'
' ECDH, and ECDSA enabled.')
return False
matches = cflags_regex.findall(openssl_cflags)
matches = cflags_regex.findall(openssl_cflags.decode())
if matches:
logger.error(
'This OpenSSL library is missing the following required'