Skip to content

Commit c3c5153

Browse files
Fix DoUserAuthBanner()
1 parent 8643d7b commit c3c5153

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8514,7 +8514,7 @@ static int DoUserAuthBanner(WOLFSSH* ssh, byte* buf, word32 len, word32* idx)
85148514
ret = GetString(banner, &bannerSz, buf, len, idx);
85158515

85168516
if (ret == WS_SUCCESS)
8517-
ret = GetSize(&bannerSz, buf, len, idx);
8517+
ret = GetSkip(buf, len, idx);
85188518

85198519
if (ret == WS_SUCCESS) {
85208520
if (ssh->ctx->showBanner) {

0 commit comments

Comments
 (0)