mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
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)
|
if (rv < 0)
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
if (rv == VIR_NET_TLS_HANDSHAKE_COMPLETE)
|
if (rv == VIR_NET_TLS_HANDSHAKE_COMPLETE)
|
||||||
serverShake = true;
|
clientShake = true;
|
||||||
}
|
}
|
||||||
} while (!clientShake && !serverShake);
|
} while (!clientShake && !serverShake);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user