]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberd_c2s.erl: Send new id for each new stream inside one
authorAlexey Shchepin <alexey@process-one.net>
Sat, 9 Apr 2005 23:47:56 +0000 (23:47 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Sat, 9 Apr 2005 23:47:56 +0000 (23:47 +0000)
session (thanks to Maxim Ryazanov)

* src/tls/tls_drv.c: Now reads all certificates from certificate
file instead of reading only first one (thanks to Karl-Johan
Karlsson)

* examples/transport-configs/init-scripts/jabber-gg-transport:
Fixed typo (thanks to Sander Devrieze)

SVN Revision: 305

.cvslog [new file with mode: 0644]
ChangeLog
examples/transport-configs/init-scripts/jabber-gg-transport
src/tls/tls_drv.c

diff --git a/.cvslog b/.cvslog
new file mode 100644 (file)
index 0000000..dd13d46
--- /dev/null
+++ b/.cvslog
@@ -0,0 +1,3 @@
+jabber://aleksey@jabber.ru
+jabber://sgolovan@nes.ru
+ryazanov@gmail.com
index d276042e463f645b121397293477767b8ac898da..8fdd0eec6cefd304f9851e5a09a5c897e9bcda67 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2005-04-09  Alexey Shchepin  <alexey@sevcom.net>
+
+       * src/ejabberd_c2s.erl: Send new id for each new stream inside one
+       session (thanks to Maxim Ryazanov)
+
+       * src/tls/tls_drv.c: Now reads all certificates from certificate
+       file instead of reading only first one (thanks to Karl-Johan
+       Karlsson)
+
+2005-04-06  Alexey Shchepin  <alexey@sevcom.net>
+
+       * examples/transport-configs/init-scripts/jabber-gg-transport:
+       Fixed typo (thanks to Sander Devrieze)
+
 2005-04-05  Alexey Shchepin  <alexey@sevcom.net>
 
        * examples/transport-configs/configs/msn-transport.xml: Fixed typo
index 17718fb9308b1e10822e13f9f912bdc669ec20d2..269685d0d0de95a60b96249d08dfebc8446fe1b0 100755 (executable)
@@ -33,8 +33,7 @@ case "$1" in
   stop)
        echo "Stopping $NAME."
        killall $NAME &
-# BUG REPORTEN hiervoor: bij afsluiten blijft telkens PID-bestand achter
-       rm $HOME/../../../var/run/jabber/jabber-gg-transport.pid
+       rm /var/run/jabber/jabber-gg-transport.pid
         ;;
 
   restart|reload)
index f320ee31f8dad1fb2f23ae475c04af0c3ccc17b5..fa47ed3f66ccaca2e8d832b83776988893549dfe 100644 (file)
@@ -80,8 +80,8 @@ static int tls_drv_control(ErlDrvData handle,
         d->ctx = SSL_CTX_new(SSLv23_server_method());
         die_unless(d->ctx, "SSL_CTX_new failed");
 
-        res = SSL_CTX_use_certificate_file(d->ctx, buf, SSL_FILETYPE_PEM);
-        die_unless(res > 0, "SSL_CTX_use_certificate_file failed");
+        res = SSL_CTX_use_certificate_chain_file(d->ctx, buf);
+        die_unless(res > 0, "ssl_ctx_use_certificate_chain_file failed");
 
         res = SSL_CTX_use_PrivateKey_file(d->ctx, buf, SSL_FILETYPE_PEM);
         die_unless(res > 0, "SSL_CTX_use_PrivateKey_file failed");