Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -20864,7 +20864,7 @@ int SendChannelRequest(WOLFSSH* ssh, byte* name, word32 nameSz)
}


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

/* out is always a TERMINAL_MODES_MAX_SZ buffer, and one byte is held back
* for the terminator CreateMode() appends */
Expand Down
7 changes: 3 additions & 4 deletions src/ssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ int wolfSSH_connect(WOLFSSH* ssh)
FALL_THROUGH;

case CONNECT_CLIENT_CHANNEL_AGENT_REQUEST_SENT:
#if defined(WOLFSSH_TERM) && !defined(NO_FILESYSTEM)
#if defined(WOLFSSH_TERM)
if (ssh->sendTerminalRequest) {
if ( (ssh->error = SendChannelTerminalRequest(ssh))
< WS_SUCCESS) {
Expand Down Expand Up @@ -1747,7 +1747,7 @@ void* wolfSSH_GetPublicKeyCheckCtx(WOLFSSH* ssh)
}


#if defined(WOLFSSH_TERM) && !defined(NO_FILESYSTEM)
#if defined(WOLFSSH_TERM)
/* Used to resize terminal window with shell connections
* returns WS_SUCCESS on success */
int wolfSSH_ChangeTerminalSize(WOLFSSH* ssh, word32 columns, word32 rows,
Expand Down Expand Up @@ -4868,8 +4868,7 @@ void* wolfSSH_GetChannelCloseCtx(WOLFSSH* ssh)
}


#if (defined(WOLFSSH_SFTP) || defined(WOLFSSH_SCP)) && \
!defined(NO_WOLFSSH_SERVER)
#if defined(WOLFSSH_SFTP) || defined(WOLFSSH_SCP)

/*
* Paths starting with a slash are absolute, rooted at "/". Any path that
Expand Down