Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » SSL protocol version
SSL protocol version [message #40911] Sun, 06 October 2013 22:30 Go to next message
Zbych is currently offline  Zbych
Messages: 325
Registered: July 2009
Senior Member
Hi,

When SSL context is created SSLv3_client_method is used. This restricts protocol version to v3. Can we change it to SSLv23_client_method, so v2, v3 and TLSv1 will be enabled? Or at least give user a choice?

bool TcpSocket::SSLImp::Start()
{
	LLOG("SSL Start");
...
	ERR_clear_error();
	if(!context.Create(const_cast<SSL_METHOD *>(SSLv23_client_method()))) {
		SetSSLError("Start: SSL context.");
		return false;
	}

Re: SSL protocol version [message #41051 is a reply to message #40911] Thu, 24 October 2013 19:36 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Zbych wrote on Sun, 06 October 2013 16:30

Hi,

When SSL context is created SSLv3_client_method is used. This restricts protocol version to v3. Can we change it to SSLv23_client_method, so v2, v3 and TLSv1 will be enabled? Or at least give user a choice?

bool TcpSocket::SSLImp::Start()
{
	LLOG("SSL Start");
...
	ERR_clear_error();
	if(!context.Create(const_cast<SSL_METHOD *>(SSLv23_client_method()))) {
		SetSSLError("Start: SSL context.");
		return false;
	}




OK, I can add an option. Would you care to provide a patch? (If not, I can do it anyway, but it will take longer Smile

Mirek
Previous Topic: Keep-Alive in HttpRequest
Next Topic: COM servers
Goto Forum:
  


Current Time: Thu Apr 18 02:16:27 CEST 2024

Total time taken to generate the page: 0.01646 seconds