From: Badlop Date: Fri, 27 Feb 2009 15:42:27 +0000 (+0000) Subject: * src/tls/tls_drv.c: S2S connection with STARTTLS fails to Gtalk X-Git-Tag: v2.0.5~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1e7e737bfff9cc6706d8b2a33b49cabfb482730;p=ejabberd * src/tls/tls_drv.c: S2S connection with STARTTLS fails to Gtalk and recent Openfire (thanks to Philipp Hancke)(EJAB-877) SVN Revision: 1926 --- diff --git a/ChangeLog b/ChangeLog index 68e7fcf57..e7a88a343 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-02-27 Badlop + * src/tls/tls_drv.c: S2S connection with STARTTLS fails to Gtalk + and recent Openfire (thanks to Philipp Hancke)(EJAB-877) + * doc/guide.tex: No mention to the release date in ejabberd Guide or release notes. The date of an ejabberd release is determined by the date of the corresponding release announcement. diff --git a/src/tls/tls_drv.c b/src/tls/tls_drv.c index 3ca8ba777..e7b07028b 100644 --- a/src/tls/tls_drv.c +++ b/src/tls/tls_drv.c @@ -367,7 +367,7 @@ static int tls_drv_control(ErlDrvData handle, if (command == SET_CERTIFICATE_FILE_ACCEPT) SSL_set_accept_state(d->ssl); else { - SSL_set_options(d->ssl, SSL_OP_NO_SSLv2); + SSL_set_options(d->ssl, SSL_OP_NO_SSLv2|SSL_OP_NO_TICKET); SSL_set_connect_state(d->ssl); } break;