25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +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 064d1af5de
commit d4b5e94635
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>
* 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);
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);
if (command == SET_CERTIFICATE_FILE_ACCEPT)