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:
csoler 2015-02-19 20:07:40 +00:00
parent 233fab7b6b
commit b02fdce3ad

View File

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