1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 05:16:38 +02:00

Check SSL certificates and use self-signed certificate to auto identify on IRC server (CertFP) (task #7492) (patch from kolter)

This commit is contained in:
Sebastien Helleu
2009-11-07 19:27:59 +01:00
parent 03e604c675
commit e561ab1ae3
35 changed files with 1129 additions and 68 deletions
+3 -1
View File
@@ -926,6 +926,7 @@ script_api_hook_connect (struct t_weechat_plugin *weechat_plugin,
struct t_plugin_script *script,
const char *proxy, const char *address, int port,
int sock, int ipv6, void *gnutls_sess,
void *gnutls_cb, int gnutls_dhkey_size,
const char *local_hostname,
int (*callback)(void *data, int status,
const char *error,
@@ -941,7 +942,8 @@ script_api_hook_connect (struct t_weechat_plugin *weechat_plugin,
return NULL;
new_hook = weechat_hook_connect (proxy, address, port, sock, ipv6,
gnutls_sess, local_hostname, callback,
gnutls_sess, gnutls_cb, gnutls_dhkey_size,
local_hostname, callback,
new_script_callback);
if (!new_hook)
{