mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
* src/tls/tls_drv.c: Reverted previous patch
SVN Revision: 327
This commit is contained in:
parent
e93f2aa1e1
commit
9f1fd5ee3f
@ -1,3 +1,7 @@
|
||||
2005-04-24 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* src/tls/tls_drv.c: Reverted previous patch
|
||||
|
||||
2005-04-22 Alexey Shchepin <alexey@sevcom.net>
|
||||
|
||||
* doc/guide.tex: Added mod_shared_roster documentation
|
||||
|
@ -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_chain_file(d->ctx, buf);
|
||||
die_unless(res > 0, "ssl_ctx_use_certificate_chain_file 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_PrivateKey_file(d->ctx, buf, SSL_FILETYPE_PEM);
|
||||
die_unless(res > 0, "SSL_CTX_use_PrivateKey_file failed");
|
||||
|
Loading…
Reference in New Issue
Block a user