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:
Christophe Fergeau 2013-11-26 11:34:46 +01:00
parent 0955025b9c
commit 78e9096865

View File

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