mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 21:15:20 +00:00
sasl: Replace 'restep' label with 'continue'
Since the label is at the beginning of the loop, this has the same effect.
This commit is contained in:
parent
0955025b9c
commit
78e9096865
@ -4136,7 +4136,6 @@ remoteAuthSASL(virConnectPtr conn, struct private_data *priv,
|
|||||||
* Even if the server has completed, the client must *always* do at least one step
|
* Even if the server has completed, the client must *always* do at least one step
|
||||||
* in this loop to verify the server isn't lying about something. Mutual auth */
|
* in this loop to verify the server isn't lying about something. Mutual auth */
|
||||||
for (;;) {
|
for (;;) {
|
||||||
restep:
|
|
||||||
if ((err = virNetSASLSessionClientStep(sasl,
|
if ((err = virNetSASLSessionClientStep(sasl,
|
||||||
serverin,
|
serverin,
|
||||||
serverinlen,
|
serverinlen,
|
||||||
@ -4151,7 +4150,7 @@ remoteAuthSASL(virConnectPtr conn, struct private_data *priv,
|
|||||||
VIR_FREE(iret.mechlist);
|
VIR_FREE(iret.mechlist);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
goto restep;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
VIR_FREE(serverin);
|
VIR_FREE(serverin);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user