]> granicus.if.org Git - ejabberd/commitdiff
* src/tls/tls_drv.c: S2S connection with STARTTLS fails to Gtalk
authorBadlop <badlop@process-one.net>
Fri, 27 Feb 2009 15:42:27 +0000 (15:42 +0000)
committerBadlop <badlop@process-one.net>
Fri, 27 Feb 2009 15:42:27 +0000 (15:42 +0000)
and recent Openfire (thanks to Philipp Hancke)(EJAB-877)

SVN Revision: 1926

ChangeLog
src/tls/tls_drv.c

index 68e7fcf573ce851630c14c67df731755ac3cbae6..e7a88a343db85d5c2529cfd7b0ba8a05f3acd76b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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
        or release notes. The date of an ejabberd release is determined by
        the date of the corresponding release announcement.
index 3ca8ba77769f93700b11b1182619744488e29eb2..e7b07028b5f5b604e14ca69f22c72332538eb4e0 100644 (file)
@@ -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;