Ensure that we can't create an SSL socket when SSL is not enabled.
| 143 | |
| 144 | // Ensure that we can't create an SSL socket when SSL is not enabled. |
| 145 | TEST(SSL, Disabled) |
| 146 | { |
| 147 | os::setenv("LIBPROCESS_SSL_ENABLED", "false"); |
| 148 | openssl::reinitialize(); |
| 149 | EXPECT_ERROR(Socket::create(SocketImpl::Kind::SSL)); |
| 150 | } |
| 151 | |
| 152 | |
| 153 | // Test a basic back-and-forth communication using the 'ssl-client' |
nothing calls this directly
no test coverage detected