mirror of https://github.com/wolfSSL/wolfssh.git
increase timeout time on test, fix spelling, add comment on new arg
parent
3dd09b984e
commit
111e71a8b5
|
@ -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
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue