| 364 | } |
| 365 | |
| 366 | void 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 | |
| 376 | void SecureSocket::freeSSL() |
| 377 | { |
nothing calls this directly
no outgoing calls
no test coverage detected