提交 51811e41 编写于 作者: J John Ferlan 提交者: Michal Privoznik

Resolve COPY_PASTE error found by Coverity

Fix copy-paste error doing handshake.

The clientShake was not set to true, thus we'd potentially never leave
the handshake while loop.
上级 afc4631b
......@@ -662,7 +662,7 @@ static int testTLSSessionInit(const void *opaque)
if (rv < 0)
goto cleanup;
if (rv == VIR_NET_TLS_HANDSHAKE_COMPLETE)
serverShake = true;
clientShake = true;
}
} while (!clientShake && !serverShake);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册