Skip to content

Commit

Permalink
Update TcpConnection.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
IronsDu authored Jun 6, 2020
1 parent f1f93f9 commit f90807f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/brynet/net/TcpConnection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ namespace brynet { namespace net {
{
if (isServerSide)
{
if (slHelper->getOpenSSLCTX() == nullptr ||
if (sslHelper->getOpenSSLCTX() == nullptr ||
!session->initAcceptSSL(sslHelper->getOpenSSLCTX()))
{
throw std::runtime_error("init ssl failed");
Expand Down

0 comments on commit f90807f

Please sign in to comment.