Skip to content

Commit

Permalink
Fixes in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
ejohnstown committed Dec 28, 2023
1 parent 92c4242 commit d880414
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -7132,6 +7132,8 @@ static int DoChannelClose(WOLFSSH* ssh,
}


#if !defined(NO_TERMIOS) && defined(WOLFSSH_TERM)

#define TTY_SET_CHAR(x,y,z) (x)[(y)] = (byte)(z)
#define TTY_SET_FLAG(x,y,z) (x) = (z) ? ((x) | (y)) : ((x) & ~(y))

Expand Down Expand Up @@ -7368,6 +7370,8 @@ int wolfSSH_DoModes(const byte* modes, word32 modesSz, int fd)
return 0;
}

#endif /* !NO_TERMIOS && WOLFSSH_TERM */


static int DoChannelRequest(WOLFSSH* ssh,
byte* buf, word32 len, word32* idx)
Expand Down

0 comments on commit d880414

Please sign in to comment.