mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
* src/tls/tls_drv.c: Fix encryption problem for ejabberd_http
after timeout (thanks to Alexey Shchepin)(EJAB-880) SVN Revision: 1986
This commit is contained in:
parent
2c4effe6ce
commit
b245d68568
@ -1,3 +1,8 @@
|
|||||||
|
2009-03-10 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
|
* src/tls/tls_drv.c: Fix encryption problem for ejabberd_http
|
||||||
|
after timeout (thanks to Alexey Shchepin)(EJAB-880)
|
||||||
|
|
||||||
2009-03-10 Christophe Romain <christophe.romain@process-one.net>
|
2009-03-10 Christophe Romain <christophe.romain@process-one.net>
|
||||||
|
|
||||||
* src/mod_pubsub/mod_pubsub.erl: Fix PEP with other domains and s2s
|
* src/mod_pubsub/mod_pubsub.erl: Fix PEP with other domains and s2s
|
||||||
|
@ -344,6 +344,7 @@ static int tls_drv_control(ErlDrvData handle,
|
|||||||
res = SSL_CTX_check_private_key(ctx);
|
res = SSL_CTX_check_private_key(ctx);
|
||||||
die_unless(res > 0, "SSL_CTX_check_private_key failed");
|
die_unless(res > 0, "SSL_CTX_check_private_key failed");
|
||||||
|
|
||||||
|
SSL_CTX_set_session_cache_mode(ctx, SSL_SESS_CACHE_OFF);
|
||||||
SSL_CTX_set_default_verify_paths(ctx);
|
SSL_CTX_set_default_verify_paths(ctx);
|
||||||
|
|
||||||
if (command == SET_CERTIFICATE_FILE_ACCEPT)
|
if (command == SET_CERTIFICATE_FILE_ACCEPT)
|
||||||
|
Loading…
Reference in New Issue
Block a user