25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-02 16:37:52 +01:00

* src/tls/tls_drv.c: S2S connection with STARTTLS fails to Gtalk

and recent Openfire (thanks to Philipp Hancke)(EJAB-877)

SVN Revision: 1926
This commit is contained in:
Badlop 2009-02-27 15:42:27 +00:00
parent fa08801574
commit a1e7e737bf
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2009-02-27 Badlop <badlop@process-one.net> 2009-02-27 Badlop <badlop@process-one.net>
* 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 * doc/guide.tex: No mention to the release date in ejabberd Guide
or release notes. The date of an ejabberd release is determined by or release notes. The date of an ejabberd release is determined by
the date of the corresponding release announcement. the date of the corresponding release announcement.

View File

@ -367,7 +367,7 @@ static int tls_drv_control(ErlDrvData handle,
if (command == SET_CERTIFICATE_FILE_ACCEPT) if (command == SET_CERTIFICATE_FILE_ACCEPT)
SSL_set_accept_state(d->ssl); SSL_set_accept_state(d->ssl);
else { 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); SSL_set_connect_state(d->ssl);
} }
break; break;