From a7349dc603f310c06c7138afccdb079266b604bd Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 7 Feb 2017 20:48:58 +0000 Subject: [PATCH] common.connection: Fix indentation. --- src/common/connection.py | 66 ++++++++++++++++++++-------------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index b2ee7d0f4..0c5192227 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -71,39 +71,39 @@ import logging log = logging.getLogger('gajim.c.connection') ssl_error = { -2: _("Unable to get issuer certificate"), -3: _("Unable to get certificate CRL"), -4: _("Unable to decrypt certificate's signature"), -5: _("Unable to decrypt CRL's signature"), -6: _("Unable to decode issuer public key"), -7: _("Certificate signature failure"), -8: _("CRL signature failure"), -9: _("Certificate is not yet valid"), -10: _("Certificate has expired"), -11: _("CRL is not yet valid"), -12: _("CRL has expired"), -13: _("Format error in certificate's notBefore field"), -14: _("Format error in certificate's notAfter field"), -15: _("Format error in CRL's lastUpdate field"), -16: _("Format error in CRL's nextUpdate field"), -17: _("Out of memory"), -18: _("Self signed certificate"), -19: _("Self signed certificate in certificate chain"), -20: _("Unable to get local issuer certificate"), -21: _("Unable to verify the first certificate"), -22: _("Certificate chain too long"), -23: _("Certificate revoked"), -24: _("Invalid CA certificate"), -25: _("Path length constraint exceeded"), -26: _("Unsupported certificate purpose"), -27: _("Certificate not trusted"), -28: _("Certificate rejected"), -29: _("Subject issuer mismatch"), -30: _("Authority and subject key identifier mismatch"), -31: _("Authority and issuer serial number mismatch"), -32: _("Key usage does not include certificate signing"), -50: _("Application verification failure") -#100 is for internal usage: host not correct + 2: _("Unable to get issuer certificate"), + 3: _("Unable to get certificate CRL"), + 4: _("Unable to decrypt certificate's signature"), + 5: _("Unable to decrypt CRL's signature"), + 6: _("Unable to decode issuer public key"), + 7: _("Certificate signature failure"), + 8: _("CRL signature failure"), + 9: _("Certificate is not yet valid"), + 10: _("Certificate has expired"), + 11: _("CRL is not yet valid"), + 12: _("CRL has expired"), + 13: _("Format error in certificate's notBefore field"), + 14: _("Format error in certificate's notAfter field"), + 15: _("Format error in CRL's lastUpdate field"), + 16: _("Format error in CRL's nextUpdate field"), + 17: _("Out of memory"), + 18: _("Self signed certificate"), + 19: _("Self signed certificate in certificate chain"), + 20: _("Unable to get local issuer certificate"), + 21: _("Unable to verify the first certificate"), + 22: _("Certificate chain too long"), + 23: _("Certificate revoked"), + 24: _("Invalid CA certificate"), + 25: _("Path length constraint exceeded"), + 26: _("Unsupported certificate purpose"), + 27: _("Certificate not trusted"), + 28: _("Certificate rejected"), + 29: _("Subject issuer mismatch"), + 30: _("Authority and subject key identifier mismatch"), + 31: _("Authority and issuer serial number mismatch"), + 32: _("Key usage does not include certificate signing"), + 50: _("Application verification failure") + #100 is for internal usage: host not correct } class CommonConnection: