[Link Mauve] correctly send certificate fingerprint when sending a file.
This commit is contained in:
parent
8aabfe29c7
commit
1dba4796f7
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ class JingleContent(object):
|
||||||
# Old py-OpenSSL is missing get_signature_algorithm
|
# Old py-OpenSSL is missing get_signature_algorithm
|
||||||
digest_algo = "sha256"
|
digest_algo = "sha256"
|
||||||
security.addChild('fingerprint').addData(cert.digest(
|
security.addChild('fingerprint').addData(cert.digest(
|
||||||
digest_algo))
|
digest_algo).decode('utf-8'))
|
||||||
for m in ('x509', ): # supported authentication methods
|
for m in ('x509', ): # supported authentication methods
|
||||||
method = nbxmpp.simplexml.Node(tag='method')
|
method = nbxmpp.simplexml.Node(tag='method')
|
||||||
method.setAttr('name', m)
|
method.setAttr('name', m)
|
||||||
|
|
Loading…
Add table
Reference in a new issue