mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
Hope I finally corrected the connexion + one-way bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1396 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
11001bd1d4
commit
4685fadbeb
4 changed files with 81 additions and 31 deletions
|
@ -139,6 +139,10 @@ static int initLib = 0;
|
|||
// setup cipher lists.
|
||||
SSL_CTX_set_cipher_list(sslctx, "DEFAULT");
|
||||
|
||||
// setup flag against read errors
|
||||
// SSL_CTX_set_mode(sslctx,SSL_MODE_AUTO_RETRY);
|
||||
// SSL_CTX_set_mode(sslctx,SSL_MODE_ENABLE_PARTIAL_WRITE) ;
|
||||
|
||||
// certificates (Set Local Server Certificate).
|
||||
FILE *ownfp = fopen(cert_file, "r");
|
||||
if (ownfp == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue