summaryrefslogtreecommitdiff
path: root/src/core/server-setup-rec.h
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-11-16 17:53:55 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-11-16 17:53:55 +0000
commit43b0d36ee182f48cd655187a63411045aa04c948 (patch)
treee0b965b871ab3563ab46ed87bf9d675b8e353bd8 /src/core/server-setup-rec.h
parentb1e2d7b5ef4837b8433c1bf5e68c629babe280d0 (diff)
downloadirssi-43b0d36ee182f48cd655187a63411045aa04c948.zip
Support for sending SSL certificate to server and optionally verify server's
certificate. See the -ssl_* options for /SERVER and /SERVER ADD. Patch by Joel Eriksson <je-irssi@bitnux.com>. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3146 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/server-setup-rec.h')
-rw-r--r--src/core/server-setup-rec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/server-setup-rec.h b/src/core/server-setup-rec.h
index d04fa1fe..b7a0c80d 100644
--- a/src/core/server-setup-rec.h
+++ b/src/core/server-setup-rec.h
@@ -8,6 +8,11 @@ char *address;
int port;
char *password;
+char *ssl_cert;
+char *ssl_pkey;
+char *ssl_cafile;
+char *ssl_capath;
+
char *own_host; /* address to use when connecting this server */
IPADDR *own_ip4, *own_ip6; /* resolved own_address if not NULL */
@@ -19,5 +24,6 @@ unsigned int last_failed:1; /* if last connection attempt failed */
unsigned int banned:1; /* if we're banned from this server */
unsigned int dns_error:1; /* DNS said the host doesn't exist */
unsigned int use_ssl:1; /* this connection uses SSL */
+unsigned int ssl_verify:1;
GHashTable *module_data;