// ----------------------------------------------------------------------------
// VSslServer
// ----------------------------------------------------------------------------
VSslServer::VSslServer(void* owner) : VTcpServer(owner)
{
  VSslCommon::initialize();
  methodType            = VSslMethodType::mtTLSV1;
  caPath                = "./"; // gilgil temp
  defaultKeyCrtFileName = "default.pem";
  m_meth                = NULL;
  m_ctx                 = NULL;

  bool res = QObject::connect(this, SIGNAL(runned(VTcpSession*)), this, SLOT(myRun(VTcpSession*)), Qt::DirectConnection);
  if (!res)
  {
    LOG_FATAL("QObject::connect return false");
  }
}