mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-20 22:31:31 +02:00
fix UB/bad cast in TCPServerTest.cpp
This commit is contained in:
@@ -82,7 +82,7 @@ namespace
|
||||
|
||||
void run()
|
||||
{
|
||||
SecureStreamSocket& ss = static_cast<SecureStreamSocket&>(socket());
|
||||
SecureStreamSocket ss = socket();
|
||||
try
|
||||
{
|
||||
ss.completeHandshake();
|
||||
|
Reference in New Issue
Block a user