summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-01-26 22:19:16 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-01-26 22:19:16 +0100
commitfb9268c01da0c61213695e56dff0aaf6b6770c23 (patch)
tree7eac8b90e125f0a80a5581acbed69451aa2dce9b
parentfcd296d7f2d99ed27433b1bfc400c1b8d9c6bec8 (diff)
downloadweechat-fb9268c01da0c61213695e56dff0aaf6b6770c23.zip
Fix bug with SSL connection to IRC server (fails sometimes when ssl_verify is on) (bug #28741)
-rw-r--r--ChangeLog2
-rw-r--r--src/plugins/irc/irc-server.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index be5b6449f..f0f5a7744 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@ Version 0.3.2 (under dev!)
* core: add signal "day_changed"
* api: add missing infos in functions buffer_get_integer / buffer_get_string
and in buffer infolist
+* irc: fix bug with SSL connection (fails sometimes when ssl_verify is on)
+ (bug #28741)
* irc: add options irc.look.smart_filter_join and irc.look.smart_filter_quit
* logger: allow date format in logger options path and mask (task #9430)
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index eee8b4684..50a3876a1 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -2239,6 +2239,8 @@ irc_server_gnutls_callback (void *data, gnutls_session_t tls_session,
(void) pk_algos;
(void) pk_algos_len;
+ rc = 0;
+
if (!data)
return -1;