Fixed warnings
This commit is contained in:
parent
6adf130bf3
commit
6613d7b7ad
@ -3482,11 +3482,12 @@ TEST(SSLClientServerTest, SSLConnectTimeout) {
|
|||||||
|
|
||||||
bool stop_;
|
bool stop_;
|
||||||
private:
|
private:
|
||||||
bool process_and_close_socket(socket_t sock) override {
|
bool process_and_close_socket(socket_t /*sock*/) override {
|
||||||
// Don't create SSL context
|
// Don't create SSL context
|
||||||
while (!stop_) {
|
while (!stop_) {
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
NoListenSSLServer svr(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE, CLIENT_CA_CERT_FILE);
|
NoListenSSLServer svr(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE, CLIENT_CA_CERT_FILE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user