mirror of https://gitee.com/openkylin/libvirt.git
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.
This commit is contained in:
parent
afc4631b63
commit
51811e4161
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue