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:
John Ferlan 2013-01-08 10:10:10 -05:00 committed by Michal Privoznik
parent afc4631b63
commit 51811e4161

View File

@ -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);