Mercurial > pidgin
comparison libpurple/sslconn.h @ 17780:e0eb1eb5b47b
- Added PURPLE_SSL_PEER_AUTH_FAILED to show that an SSL connection was
unable to authenticate the other end of the connection.
- Wrote (non-working) GnuTLS request code to prompt the user to check
the cert
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Tue, 29 May 2007 20:50:06 +0000 |
parents | 2d2c72f70e8c |
children | 3ce170204ef0 |
comparison
equal
deleted
inserted
replaced
17779:8b322c8afeb6 | 17780:e0eb1eb5b47b |
---|---|
30 #define PURPLE_SSL_DEFAULT_PORT 443 | 30 #define PURPLE_SSL_DEFAULT_PORT 443 |
31 | 31 |
32 typedef enum | 32 typedef enum |
33 { | 33 { |
34 PURPLE_SSL_HANDSHAKE_FAILED = 1, | 34 PURPLE_SSL_HANDSHAKE_FAILED = 1, |
35 PURPLE_SSL_CONNECT_FAILED = 2 | 35 PURPLE_SSL_CONNECT_FAILED = 2, |
36 PURPLE_SSL_PEER_AUTH_FAILED = 3 | |
36 } PurpleSslErrorType; | 37 } PurpleSslErrorType; |
37 | 38 |
38 typedef struct _PurpleSslConnection PurpleSslConnection; | 39 typedef struct _PurpleSslConnection PurpleSslConnection; |
39 | 40 |
40 typedef void (*PurpleSslInputFunction)(gpointer, PurpleSslConnection *, | 41 typedef void (*PurpleSslInputFunction)(gpointer, PurpleSslConnection *, |