changeset 182aaa7fab1a in /home/hg/repos/gajim

author: Yann Leboulanger <[email protected]>
branches: 
details:http://hg.gajim.org/gajim?cmd=changeset;node=182aaa7fab1a
description: fix typo

diffstat:

 src/common/jingle_xtls.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 8140a766fe30 -r 182aaa7fab1a src/common/jingle_xtls.py
--- a/src/common/jingle_xtls.py Sat Mar 29 18:27:48 2014 +0100
+++ b/src/common/jingle_xtls.py Tue Apr 08 22:36:19 2014 +0200
@@ -194,7 +194,7 @@
         if cert:
             try:
                 digest_algo = cert.get_signature_algorithm().split('With')[0]
-            except AttributeError as e: 
+            except AttributeError as e:
                 # Old py-OpenSSL is missing get_signature_algorithm
                 digest_algo = "sha256"
             if cert.digest(digest_algo) == fingerprint:
@@ -251,7 +251,7 @@
     req.sign(pkey, digest)
     return req
 
-def createCertificate(req, issuerCert, issuerKey, serial, notBefore, notAfter, 
digest="shai256"):
+def createCertificate(req, issuerCert, issuerKey, serial, notBefore, notAfter, 
digest="sha256"):
     """
     Generate a certificate given a certificate request.
 
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to