| 205 | |
| 206 | #if USE_SSL |
| 207 | void PostgreSQLHandler::makeSecureConnectionSSL() |
| 208 | { |
| 209 | message_transport->send('S'); |
| 210 | ss = std::make_shared<Poco::Net::SecureStreamSocket>( |
| 211 | Poco::Net::SecureStreamSocket::attach(socket(), Poco::Net::SSLManager::instance().defaultServerContext())); |
| 212 | changeIO(*ss); |
| 213 | } |
| 214 | #else |
| 215 | void PostgreSQLHandler::makeSecureConnectionSSL() {} |
| 216 | #endif |