From 557c16a6b9f2cf339041188e84e6ff61c358c536 Mon Sep 17 00:00:00 2001 From: Ilja Honkonen Date: Mon, 22 Mar 2021 15:37:14 +0200 Subject: [PATCH] Decode openssl_cflags bytes to utf8. --- src/depends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/depends.py b/src/depends.py index c4b8ddb9..972c49ea 100755 --- a/src/depends.py +++ b/src/depends.py @@ -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'