#5628 Make enableCrypto directly enable SSL
This commit is contained in:
parent
55a2d1231f
commit
45da1dfc7c
|
@ -71,7 +71,7 @@ Client::Client(
|
|||
m_sendFileThread(NULL),
|
||||
m_writeToDropDirThread(NULL),
|
||||
m_socket(NULL),
|
||||
m_useSecureNetwork(false),
|
||||
m_useSecureNetwork(args.m_enableCrypto),
|
||||
m_args(args),
|
||||
m_enableClipboard(true)
|
||||
{
|
||||
|
|
|
@ -40,7 +40,7 @@ ClientListener::ClientListener(const NetworkAddress& address,
|
|||
m_socketFactory(socketFactory),
|
||||
m_server(NULL),
|
||||
m_events(events),
|
||||
m_useSecureNetwork(false)
|
||||
m_useSecureNetwork(enableCrypto)
|
||||
{
|
||||
assert(m_socketFactory != NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue