]> git.pld-linux.org Git - packages/ejabberd.git/commitdiff
- report entire certificate chain auto/th/ejabberd-1_1_3-3
authordeejay1 <deejay1@pld-linux.org>
Sun, 26 Aug 2007 18:03:25 +0000 (18:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixes EJAB-209

Changed files:
    ejabberd-show_certificate_chain.patch -> 1.1

ejabberd-show_certificate_chain.patch [new file with mode: 0644]

diff --git a/ejabberd-show_certificate_chain.patch b/ejabberd-show_certificate_chain.patch
new file mode 100644 (file)
index 0000000..ecd60f3
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur ejabberd-1.1.3/src/tls/tls_drv.c ejabberd-1.1.3-certificate_chain/src/tls/tls_drv.c
+--- ejabberd-1.1.3/src/tls/tls_drv.c   2006-08-04 04:25:10.000000000 +0200
++++ ejabberd-1.1.3-certificate_chain/src/tls/tls_drv.c 2007-08-26 19:48:11.563472538 +0200
+@@ -108,7 +108,7 @@
+        d->ctx = SSL_CTX_new(SSLv23_method());
+        die_unless(d->ctx, "SSL_CTX_new failed");
+-       res = SSL_CTX_use_certificate_file(d->ctx, buf, SSL_FILETYPE_PEM);
++       res = SSL_CTX_use_certificate_chain_file(d->ctx, buf);
+        die_unless(res > 0, "SSL_CTX_use_certificate_file failed");
+        res = SSL_CTX_use_PrivateKey_file(d->ctx, buf, SSL_FILETYPE_PEM);
This page took 0.121796 seconds and 4 git commands to generate.