pull/1215/merge
Pete Clarke 2026-09-17 08:57:33 -07:00 committed by GitHub
commit 9ebef82bfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View File

@ -23544,7 +23544,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 */

View File

@ -1143,7 +1143,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) {
@ -1945,7 +1945,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,
@ -6021,8 +6021,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