increase timeout time on test, fix spelling, add comment on new arg

pull/793/head
JacobBarthelmeh 2025-05-15 13:32:33 -06:00
parent 3dd09b984e
commit 111e71a8b5
3 changed files with 4 additions and 2 deletions

View File

@ -66,7 +66,7 @@ jobs:
wolfssl: ${{ fromJson(needs.create_matrix.outputs['versions']) }}
name: Build and test wolfsshd
runs-on: ${{ matrix.os }}
timeout-minutes: 10
timeout-minutes: 15
steps:
- name: Checking cache for wolfssl
uses: actions/cache@v4

View File

@ -696,6 +696,8 @@ INLINE static int IsMessageAllowedClient(WOLFSSH *ssh, byte msg)
#endif /* NO_WOLFSSH_CLIENT */
/* 'state' argument is for if trying to send a message or receive one.
* Returns 1 if allowed 0 if not allowed. */
INLINE static int IsMessageAllowed(WOLFSSH *ssh, byte msg, byte state)
{
if (state == WS_MSG_SEND && !IsMessageAllowedKeying(ssh, msg)) {

View File

@ -1205,7 +1205,7 @@ enum WS_MessageIds {
#define CHANNEL_EXTENDED_DATA_STDERR WOLFSSH_EXT_DATA_STDERR
/* Used when checking IsMessageAllowed() to determine if createing and sending
/* Used when checking IsMessageAllowed() to determine if creating and sending
* the message or receiving the message is allowed */
#define WS_MSG_SEND 1
#define WS_MSG_RECV 2