common.connection: Fix indentation.
This commit is contained in:
parent
2fbadc91e9
commit
a7349dc603
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue