diff --git a/src/common/jingle_xtls.py b/src/common/jingle_xtls.py index 2bb9360f9..d078c0e10 100644 --- a/src/common/jingle_xtls.py +++ b/src/common/jingle_xtls.py @@ -194,7 +194,8 @@ def check_cert(jid, fingerprint): cert = load_cert_file(certpath) if cert: try: - digest_algo = cert.get_signature_algorithm().split('With')[0] + digest_algo = cert.get_signature_algorithm().decode('utf-8').\ + split('With')[0] except AttributeError as e: # Old py-OpenSSL is missing get_signature_algorithm digest_algo = "sha256"