]> git.pld-linux.org Git - packages/ejabberd.git/blob - ejabberd-show_certificate_chain.patch
- already included in ejabberd 2.0.0
[packages/ejabberd.git] / ejabberd-show_certificate_chain.patch
1 diff -ur ejabberd-1.1.3/src/tls/tls_drv.c ejabberd-1.1.3-certificate_chain/src/tls/tls_drv.c
2 --- ejabberd-1.1.3/src/tls/tls_drv.c    2006-08-04 04:25:10.000000000 +0200
3 +++ ejabberd-1.1.3-certificate_chain/src/tls/tls_drv.c  2007-08-26 19:48:11.563472538 +0200
4 @@ -108,7 +108,7 @@
5          d->ctx = SSL_CTX_new(SSLv23_method());
6          die_unless(d->ctx, "SSL_CTX_new failed");
7  
8 -        res = SSL_CTX_use_certificate_file(d->ctx, buf, SSL_FILETYPE_PEM);
9 +        res = SSL_CTX_use_certificate_chain_file(d->ctx, buf);
10          die_unless(res > 0, "SSL_CTX_use_certificate_file failed");
11  
12          res = SSL_CTX_use_PrivateKey_file(d->ctx, buf, SSL_FILETYPE_PEM);
This page took 0.041187 seconds and 3 git commands to generate.