diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 14:27:48 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-13 17:31:29 +0100 |
commit | bc6a03a1086e8f7d1c1211633f61ee25b12e16a2 (patch) | |
tree | 10bf4000b3eb618aab1ba0e1a6b76b9e3b66460d /src/libutil/ssl_util.c | |
parent | 1ad42d3b00442d7122b16c72d1226f6c2b0e133f (diff) | |
download | rspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.tar.gz rspamd-bc6a03a1086e8f7d1c1211633f61ee25b12e16a2.zip |
[Feature] Implement SSL support in http client
Diffstat (limited to 'src/libutil/ssl_util.c')
-rw-r--r-- | src/libutil/ssl_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/ssl_util.c b/src/libutil/ssl_util.c index d0f73a907..6c426761b 100644 --- a/src/libutil/ssl_util.c +++ b/src/libutil/ssl_util.c @@ -363,7 +363,7 @@ rspamd_ssl_event_handler (gint fd, short what, gpointer ud) /* Verify certificate */ if (rspamd_ssl_peer_verify (c)) { c->state = ssl_conn_connected; - c->handler (fd, what, c->handler_data); + c->handler (fd, EV_WRITE, c->handler_data); } else { /* Error handler has been called from peer verify */ |