提交 78e90968 编写于 作者: C Christophe Fergeau

sasl: Replace 'restep' label with 'continue'

Since the label is at the beginning of the loop, this has the same effect.
上级 0955025b
...@@ -4136,7 +4136,6 @@ remoteAuthSASL(virConnectPtr conn, struct private_data *priv, ...@@ -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, ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册