mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-07 14:58:56 +02:00
* src/tls/tls_drv.c: Sends the entire certificate chain (EJAB-209).
SVN Revision: 841
This commit is contained in:
parent
bf6e5a0d26
commit
15eee1c604
@ -1,5 +1,7 @@
|
||||
2007-07-30 Mickael Remond <mickael.remond@process-one.net>
|
||||
|
||||
* src/tls/tls_drv.c: Sends the entire certificate chain (EJAB-209).
|
||||
|
||||
* src/acl.erl: Remove compilation warnings (EJAB-290).
|
||||
|
||||
* src/xml_stream.erl: Group CDATA on a single xmlcdata
|
||||
|
@ -108,7 +108,7 @@ static int tls_drv_control(ErlDrvData handle,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user