MCPcopy Create free account
hub / github.com/deskflow/deskflow / createSSL

Method createSSL

src/lib/net/SecureSocket.cpp:366–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366void SecureSocket::createSSL()
367{
368 // I assume just one instance is needed
369 // get new SSL state with context
370 if (m_ssl->m_ssl == nullptr) {
371 assert(m_ssl->m_context != nullptr);
372 m_ssl->m_ssl = SSL_new(m_ssl->m_context);
373 }
374}
375
376void SecureSocket::freeSSL()
377{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected