mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 08:29:32 -05:00
Allow TLSv1.2 while keeping compatibility with TLS1 and 1.1 (Patch from cave)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7958 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
233fab7b6b
commit
b02fdce3ad
@ -331,7 +331,8 @@ static int initLib = 0;
|
||||
std::cerr << "SSL Library Init!" << std::endl;
|
||||
|
||||
// setup connection method
|
||||
sslctx = SSL_CTX_new(TLSv1_method());
|
||||
sslctx = SSL_CTX_new(SSLv23_method());
|
||||
SSL_CTX_set_options(sslctx,SSL_OP_NO_SSLv3) ;
|
||||
|
||||
// Setup cipher lists:
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user