Mercurial > ~mikael > mcabber > hg
comparison mcabber/connwrap/connwrap.h @ 938:40175f3dcef7
SSL server certificate verification
This patch enables SSL server certificate verification.
author | Jefferson Ogata <ogata@antibozo.net> |
---|---|
date | Sat, 08 Jul 2006 23:32:49 +0200 |
parents | ec86d759ed54 |
children |
comparison
equal
deleted
inserted
replaced
937:548def60b810 | 938:40175f3dcef7 |
---|---|
33 int cw_write(int fd, const void *buf, int count, int ssl); | 33 int cw_write(int fd, const void *buf, int count, int ssl); |
34 int cw_read(int fd, void *buf, int count, int ssl); | 34 int cw_read(int fd, void *buf, int count, int ssl); |
35 | 35 |
36 void cw_close(int fd); | 36 void cw_close(int fd); |
37 | 37 |
38 void cw_set_ssl_options(int sslverify, const char *sslcafile, const char *sslcapath, const char *sslciphers, const char *sslpeer); | |
39 const char *cw_get_ssl_error(void); | |
38 void cw_setproxy(const char *aproxyhost, int aproxyport, const char *aproxyuser, const char *aproxypass); | 40 void cw_setproxy(const char *aproxyhost, int aproxyport, const char *aproxyuser, const char *aproxypass); |
39 void cw_setbind(const char *abindaddr); | 41 void cw_setbind(const char *abindaddr); |
40 | 42 |
41 char *cw_base64_encode(const char *in); | 43 char *cw_base64_encode(const char *in); |
42 | 44 |