Skip to content

Commit db05a9f

Browse files
committed
formatting changes
1 parent 15495ab commit db05a9f

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

src/internal.c

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13321,7 +13321,8 @@ static int BuildUserAuthRequestKeyboard(WOLFSSH* ssh, byte* output, word32* idx,
1332113321
begin += LENGTH_SZ;
1332213322
WMEMCPY(output + begin, authData->sf.keyboard.promptName, slen);
1332313323
begin += slen;
13324-
} else {
13324+
}
13325+
else {
1332513326
c32toa(0, output + begin);
1332613327
begin += LENGTH_SZ;
1332713328
}
@@ -13331,7 +13332,8 @@ static int BuildUserAuthRequestKeyboard(WOLFSSH* ssh, byte* output, word32* idx,
1333113332
begin += LENGTH_SZ;
1333213333
WMEMCPY(output + begin, authData->sf.keyboard.promptInstruction, slen);
1333313334
begin += slen;
13334-
} else {
13335+
}
13336+
else {
1333513337
c32toa(0, output + begin);
1333613338
begin += LENGTH_SZ;
1333713339
}
@@ -13341,7 +13343,8 @@ static int BuildUserAuthRequestKeyboard(WOLFSSH* ssh, byte* output, word32* idx,
1334113343
begin += LENGTH_SZ;
1334213344
WMEMCPY(output + begin, authData->sf.keyboard.promptLanguage, slen);
1334313345
begin += slen;
13344-
} else {
13346+
}
13347+
else {
1334513348
c32toa(0, output + begin);
1334613349
begin += LENGTH_SZ;
1334713350
}
@@ -13381,8 +13384,7 @@ int SendUserAuthKeyboardRequest(WOLFSSH* ssh, WS_UserAuthData* authData)
1338113384
WLOG(WS_LOG_DEBUG, "SendUserAuthKeyboardRequest called with no Cb set");
1338213385
ret = WS_BAD_USAGE;
1338313386
}
13384-
13385-
if (ret == WS_SUCCESS) {
13387+
else {
1338613388
ret = ssh->ctx->keyboardAuthCb(&authData->sf.keyboard,
1338713389
ssh->keyboardAuthCtx);
1338813390
}

0 commit comments

Comments
 (0)