Skip to content

Commit

Permalink
#5628 Make enableCrypto directly enable SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
SymlessRemoved authored and Andrew Nelless committed Sep 29, 2016
1 parent 6bd0f47 commit 76e495d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/client/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion src/lib/server/ClientListener.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 76e495d

Please sign in to comment.