25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-31 15:21:38 +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:
Badlop 2009-03-10 15:21:36 +00:00
parent b0864396ec
commit 8f41436cd8
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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)