From 1dba4796f705f8de3940cbe69a0de5c96b16b6d5 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 10 Apr 2016 20:59:54 +0200 Subject: [PATCH] [Link Mauve] correctly send certificate fingerprint when sending a file. --- src/common/jingle_content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/jingle_content.py b/src/common/jingle_content.py index eba958767..630a98b8a 100644 --- a/src/common/jingle_content.py +++ b/src/common/jingle_content.py @@ -228,7 +228,7 @@ class JingleContent(object): # Old py-OpenSSL is missing get_signature_algorithm digest_algo = "sha256" security.addChild('fingerprint').addData(cert.digest( - digest_algo)) + digest_algo).decode('utf-8')) for m in ('x509', ): # supported authentication methods method = nbxmpp.simplexml.Node(tag='method') method.setAttr('name', m)