SOURCES: ejabberd-show_certificate_chain.patch (NEW) - report enti...
deejay1
deejay1 at pld-linux.org
Sun Aug 26 20:03:30 CEST 2007
Author: deejay1 Date: Sun Aug 26 18:03:30 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- report entire certificate chain
- fixes EJAB-209
---- Files affected:
SOURCES:
ejabberd-show_certificate_chain.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/ejabberd-show_certificate_chain.patch
diff -u /dev/null SOURCES/ejabberd-show_certificate_chain.patch:1.1
--- /dev/null Sun Aug 26 20:03:30 2007
+++ SOURCES/ejabberd-show_certificate_chain.patch Sun Aug 26 20:03:25 2007
@@ -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);
================================================================
More information about the pld-cvs-commit
mailing list