common.connection: Fix indentation.

This commit is contained in:
Emmanuel Gil Peyrot 2017-02-07 20:48:58 +00:00
parent 2fbadc91e9
commit a7349dc603
1 changed files with 33 additions and 33 deletions

View File

@ -71,39 +71,39 @@ import logging
log = logging.getLogger('gajim.c.connection') log = logging.getLogger('gajim.c.connection')
ssl_error = { ssl_error = {
2: _("Unable to get issuer certificate"), 2: _("Unable to get issuer certificate"),
3: _("Unable to get certificate CRL"), 3: _("Unable to get certificate CRL"),
4: _("Unable to decrypt certificate's signature"), 4: _("Unable to decrypt certificate's signature"),
5: _("Unable to decrypt CRL's signature"), 5: _("Unable to decrypt CRL's signature"),
6: _("Unable to decode issuer public key"), 6: _("Unable to decode issuer public key"),
7: _("Certificate signature failure"), 7: _("Certificate signature failure"),
8: _("CRL signature failure"), 8: _("CRL signature failure"),
9: _("Certificate is not yet valid"), 9: _("Certificate is not yet valid"),
10: _("Certificate has expired"), 10: _("Certificate has expired"),
11: _("CRL is not yet valid"), 11: _("CRL is not yet valid"),
12: _("CRL has expired"), 12: _("CRL has expired"),
13: _("Format error in certificate's notBefore field"), 13: _("Format error in certificate's notBefore field"),
14: _("Format error in certificate's notAfter field"), 14: _("Format error in certificate's notAfter field"),
15: _("Format error in CRL's lastUpdate field"), 15: _("Format error in CRL's lastUpdate field"),
16: _("Format error in CRL's nextUpdate field"), 16: _("Format error in CRL's nextUpdate field"),
17: _("Out of memory"), 17: _("Out of memory"),
18: _("Self signed certificate"), 18: _("Self signed certificate"),
19: _("Self signed certificate in certificate chain"), 19: _("Self signed certificate in certificate chain"),
20: _("Unable to get local issuer certificate"), 20: _("Unable to get local issuer certificate"),
21: _("Unable to verify the first certificate"), 21: _("Unable to verify the first certificate"),
22: _("Certificate chain too long"), 22: _("Certificate chain too long"),
23: _("Certificate revoked"), 23: _("Certificate revoked"),
24: _("Invalid CA certificate"), 24: _("Invalid CA certificate"),
25: _("Path length constraint exceeded"), 25: _("Path length constraint exceeded"),
26: _("Unsupported certificate purpose"), 26: _("Unsupported certificate purpose"),
27: _("Certificate not trusted"), 27: _("Certificate not trusted"),
28: _("Certificate rejected"), 28: _("Certificate rejected"),
29: _("Subject issuer mismatch"), 29: _("Subject issuer mismatch"),
30: _("Authority and subject key identifier mismatch"), 30: _("Authority and subject key identifier mismatch"),
31: _("Authority and issuer serial number mismatch"), 31: _("Authority and issuer serial number mismatch"),
32: _("Key usage does not include certificate signing"), 32: _("Key usage does not include certificate signing"),
50: _("Application verification failure") 50: _("Application verification failure")
#100 is for internal usage: host not correct #100 is for internal usage: host not correct
} }
class CommonConnection: class CommonConnection: