summaryrefslogtreecommitdiff
path: root/vchat-ssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'vchat-ssl.h')
-rwxr-xr-xvchat-ssl.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/vchat-ssl.h b/vchat-ssl.h
deleted file mode 100755
index 8dc1bfc..0000000
--- a/vchat-ssl.h
+++ /dev/null
@@ -1,23 +0,0 @@
1
2/* prototypes */
3
4struct vc_x509store_t;
5typedef struct vc_x509store_t vc_x509store_t;
6typedef int (*vc_askpass_cb_t)(char *, int, int, void *);
7
8vc_x509store_t *vc_init_x509store();
9void vc_x509store_set_pkeycb(vc_x509store_t *, vc_askpass_cb_t);
10void vc_x509store_setflags(vc_x509store_t *, int);
11void vc_x509store_setkeyfile(vc_x509store_t *, char *);
12void vc_x509store_setcertfile(vc_x509store_t *, char *);
13int vc_connect_ssl(BIO **conn, vc_x509store_t * );
14
15#define VC_X509S_NODEF_CAFILE 0x01
16#define VC_X509S_NODEF_CAPATH 0x02
17#define VC_X509S_USE_CERTIFICATE 0x04
18#define VC_X509S_SSL_VERIFY_NONE 0x10
19#define VC_X509S_SSL_VERIFY_PEER 0x20
20#define VC_X509S_SSL_VERIFY_FAIL_IF_NO_PEER_CERT 0x40
21#define VC_X509S_SSL_VERIFY_CLIENT_ONCE 0x80
22#define VC_X509S_SSL_VERIFY_MASK 0xF0
23